Sergio Pedri
56b5fe4a7b
Add ArgumentException-s for invalid command arguments
2022-06-13 17:54:20 +02:00
Sergio Pedri
612055be6f
Add async void notes in AsyncRelayCommand
2022-06-07 11:09:11 +02:00
Sergio Pedri
0d7ec7a24e
Add FlowExceptionsToTaskScheduler generator support
2022-06-04 16:37:32 +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
6d73083bf8
Add AsyncRelayCommandOptions enum
2022-06-04 15:20:30 +02:00
Sergio Pedri
25a213bcd0
Rename [ICommand] to [RelayCommand]
2022-06-02 01:40:58 +02:00
Sergio Pedri
d4a8971ff6
Merge pull request #237 from danielbanda/Typos
...
Typos
2022-05-25 20:12:29 +02:00
Sergio Pedri
b52b427058
Remove [Conditional] from MVVM Toolkit attributes
2022-05-09 16:11:44 +02:00
Daniel Banda
f2dce06b4d
Fixing some typos.
2022-05-03 21:21:10 -07:00
Sergio Pedri
5a8fd0bf1e
Update [ICommand] generator for Task<T> returns
2022-03-25 22:28:38 +01: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
5afbbdf6f8
Improve XML docs for ICommandAttribute.IncludeCancelCommand
2022-03-01 21:35:42 +01:00
Sergio Pedri
63a6676790
Add IncludeCancelCommand option to generator model
2022-03-01 17:22:37 +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
6f20b2611c
Switch attribute property setters to init-only
2022-01-01 19:53:50 +01:00
Sergio Pedri
350c2374f5
Strip source generator attributes by default
...
Define "MVVMTOOLKIT_KEEP_SOURCE_GENERATOR_ATTRIBUTES" to keep them
2021-12-31 20:10:02 +01:00
Sergio Pedri
113d1a2134
Add parameter null validation to Input APIs
2021-12-14 10:33:06 +01:00
Sergio Pedri
75c51164b3
Add concurrency control setting to [ICommand] attribute
2021-12-10 00:08:12 +01:00
Sergio Pedri
a6160f2126
Remove unnecessary async state machine allocations
2021-12-10 00:02:22 +01:00
Sergio Pedri
01d7102ea9
Add cancellation support to AsyncRelayCommand<T>
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
1b66760d67
Add initial support for [ICommand] CanExecute property
2021-12-09 10:49:58 +01:00
Sergio Pedri
51c7a67c20
More code style improvements and tweaks
...
- Remove unused namespaces
- Remove unused attributes
- Remove unnecessary #nullable enable directives
- Sort using directives
- Simplify names
2021-11-01 22:29:46 +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