Commit Graph

18 Commits

Author SHA1 Message Date
Sergio Pedri 612055be6f Add async void notes in AsyncRelayCommand 2022-06-07 11:09:11 +02:00
Sergio Pedri dba9c4163e Implement FlowExceptionsToTaskScheduler option 2022-06-04 15:20:30 +02:00
Sergio Pedri 79204ab489 Switch async command types to use AsyncRelayCommandOptions 2022-06-04 15:20:30 +02:00
Sergio Pedri a3c55276a8 Fix async relay command CanExecute raised with no concurrency 2022-03-12 00:44:54 +01:00
Sergio Pedri 7a4eccbc10 Remove CanExecute checks from Execute logic 2022-03-09 22:14:51 +01:00
Sergio Pedri 8ae1006b4d Add IAsyncRelayCommandExtensions.CreateCancelCommand 2022-03-01 17:08:02 +01:00
Sergio Pedri 9c0a1b36cb Minor bug fixes, add more unit tests 2022-03-01 00:00:52 +01:00
Sergio Pedri c9f5b9fe42 Fix async command event notifications 2022-02-28 23:35:26 +01:00
Sergio Pedri 3c71d4b401 Notify CanExecute when invoking an async command 2022-02-28 22:57:49 +01:00
Sergio Pedri 33c58e3eda Remove try/catch when awaiting tasks, ignore exceptions
This allows exceptions to remain unobserved and propagate to TaskScheduler.UnobservedTaskException. It will also be more efficient, as there is no longer an exception being thrown and handled if there's one.
2022-02-28 22:37:26 +01:00
Sergio Pedri 0e26a29a57 Update async commands XML docs 2022-02-27 18:55:12 +01:00
Sergio Pedri f6ca1f0bc4 Switch default async command concurrency to false 2022-02-27 18:53:07 +01:00
Sergio Pedri 113d1a2134 Add parameter null validation to Input APIs 2021-12-14 10:33:06 +01:00
Sergio Pedri a6160f2126 Remove unnecessary async state machine allocations 2021-12-10 00:02:22 +01:00
Sergio Pedri 03989131d1 Add cancellation support to AsyncRelayCommand 2021-12-10 00:02:22 +01:00
Sergio Pedri c176080d37 Switch whole solution to file-scoped namespaces 2021-11-01 20:46:46 +01:00
Sergio Pedri 8b7c87284b Update namespaces from Microsoft.Toolkit to CommunityToolkit 2021-11-01 17:22:05 +01:00
Sergio Pedri b498321331 Rename folders/projects from Microsoft.Toolkit to CommunityToolkit 2021-11-01 17:07:47 +01:00