1
0
mirror of https://github.com/chylex/.NET-Community-Toolkit.git synced 2025-09-06 05:53:09 +02:00

131 Commits

Author SHA1 Message Date
Sergio Pedri
186ff01aeb Remove unnecessary constructor 2022-04-06 22:48:54 +02:00
Sergio Pedri
759c6b3f33 Add unit test for diagnostics on inherited members 2022-04-06 18:14:00 +02:00
Sergio Pedri
a045b551d8 Merge pull request #161 from CommunityToolkit/dev/icommand-attribute-task-t
Allow Task<T>-returns on methods with [ICommand]
2022-03-25 23:21:20 +01:00
Sergio Pedri
5067c3db2f Add unit tests for [ICommand] on Task<T> methods 2022-03-25 22:28:38 +01:00
Sergio Pedri
393a223229 Improve comments on commented out unit tests 2022-03-25 22:28:11 +01:00
Sergio Pedri
6e734ef065 Add unit tests 2022-03-25 22:28:11 +01:00
Sergio Pedri
4bb6067abc Fix nullability annotations in generated properties 2022-03-25 22:27:18 +01:00
Sergio Pedri
bf4b5f6f43 Merge pull request #152 from CommunityToolkit/dev/also-broadcast-change-attribute
Add new [AlsoBroadcastChange] attribute
2022-03-25 22:23:04 +01:00
Sergio Pedri
69a9a69b7f Change namespace to .Mvvm 2022-03-16 15:30:15 +01:00
Sergio Pedri
317241bb83 Move collection types to MVVM Toolkit 2022-03-16 15:30:15 +01:00
Sergio Pedri
4edcd888cb Add unit tests for [AlsoBroadcastChange] 2022-03-16 15:30:03 +01:00
Sergio Pedri
840e7a5983 More bug fixes to new diagnostics 2022-03-13 15:15:20 +01:00
Sergio Pedri
0f7dfe632f Add more unit tests for [AlsoNotifyCanExecuteFor] 2022-03-13 15:15:20 +01:00
Sergio Pedri
ccb8a9d4ad Fixed bugs in new diagnostics logic 2022-03-13 15:15:20 +01:00
Sergio Pedri
a3c55276a8 Fix async relay command CanExecute raised with no concurrency 2022-03-12 00:44:54 +01:00
Sergio Pedri
3daad892c1 Fix unit tests 2022-03-09 22:14:51 +01:00
Sergio Pedri
7a4eccbc10 Remove CanExecute checks from Execute logic 2022-03-09 22:14:51 +01:00
Sergio Pedri
5fb9f7039c Add unit tests for trimming annotations 2022-03-09 00:13:36 +01:00
Sergio Pedri
5cea66b4f8 Fix invalid unit tests 2022-03-02 23:20:57 +01:00
Sergio Pedri
1371da130a Add unit tests for cancel commands 2022-03-02 12:45:38 +01:00
Sergio Pedri
3fc61fe03d Merge pull request #119 from CommunityToolkit/dev/partial-observable-property-methods
[ObservableProperty] generates partial OnPropertyChanging/Changed methods
2022-03-01 13:40:42 +01:00
Sergio Pedri
f40eb62717 Add more tests for generated partial methods 2022-03-01 00:17:30 +01:00
Sergio Pedri
4fb135719f Add unit test for new partial generated methods 2022-03-01 00:17:30 +01:00
Sergio Pedri
849a0f14e5 Fix IRecipient generator for partial recipient declarations 2022-03-01 00:17:15 +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
105e31ac87 Fix some typos 2022-02-28 23:12:26 +01:00
Sergio Pedri
d776a1ecda Add unit tests for Execute raising CanExecuteChanged if needed 2022-02-28 22:58:55 +01:00
Sergio Pedri
2ca1ac7055 Add notes on TaskSchedulerTestHelper logic 2022-02-28 22:39:23 +01:00
Sergio Pedri
55b600b5f4 Add unit tests for UnobservedTaskExceptions propagation 2022-02-28 22:37:26 +01:00
Sergio Pedri
90cf3443e3 Merge pull request #127 from CommunityToolkit/dev/default-async-command-concurrency-false
Switch async commands to default to no concurrent execution
2022-02-28 21:25:43 +01:00
Sergio Pedri
f6ca1f0bc4 Switch default async command concurrency to false 2022-02-27 18:53:07 +01:00
Sergio Pedri
c1cb029bc2 Fix [ObservableRecipient] with inherited base attributes 2022-02-22 20:00:26 +01:00
Sergio Pedri
b861efc8e8 Add unit tests for CanExecute on generated properties 2022-01-31 19:45:19 +01:00
Sergio Pedri
bd4f365f01 Bump NuGet package reference versions 2022-01-13 21:53:49 +01:00
Sergio Pedri
f81cf4b4f9 Switch to target-type new() for direct return values 2022-01-01 17:02:31 +01:00
Sergio Pedri
e31a08890e Add unit tests for attributes stripping 2021-12-31 20:10:50 +01:00
Sergio Pedri
63abbb051d Fix generated members accessibility for sealed types 2021-12-31 18:06:42 +01:00
Sergio Pedri
704e5073f1 Enable implementing OnActivated/OnDeactivated with [ObservableRecipient] 2021-12-31 17:58:12 +01:00
Sergio Pedri
8e7c48fab1 Move MVVM Toolkit internals tests to separate project 2021-12-31 16:47:10 +01:00
Sergio Pedri
af03bdfff0 Remove trimming annoations for [ObservableRecipient] on older runtimes 2021-12-31 16:28:00 +01:00
Sergio Pedri
d01455ecb2 Add unit test for build error reported in #13 2021-12-29 18:31:47 +01:00
Sergio Pedri
7f0c5a1919 Add test class name to null argument check tests 2021-12-17 00:54:25 +01:00
Sergio Pedri
c44205a15a Add unit tests for Messaging checks 2021-12-14 10:35:14 +01:00
Sergio Pedri
35fbe9f607 Add unit tests for Input checks 2021-12-14 10:35:14 +01:00
Sergio Pedri
de5393fbb5 Add unit tests for DependencyInjection checks 2021-12-14 10:35:14 +01:00
Sergio Pedri
aee23b8935 Add unit tests for ComponentModel checks 2021-12-14 10:35:14 +01:00
Sergio Pedri
7bee2be36d Add concurrent messenger test with multiple token types 2021-12-13 13:36:29 +01:00
Sergio Pedri
56fb755f14 Fix a bug in StrongReferenceMessenger.IsRegistered 2021-12-13 13:36:29 +01:00
Sergio Pedri
32a27ee157 Merge pull request #44 from CommunityToolkit/dev/weak-messenger-opts
Optimize WeakReferenceMessenger
2021-12-10 01:12:28 +01:00