1
0
mirror of https://github.com/chylex/.NET-Community-Toolkit.git synced 2024-11-24 07:42:45 +01:00
Commit Graph

39 Commits

Author SHA1 Message Date
0d941a6a62
Add attribute to customize access modifiers of an observable property, and its getter and setter 2022-08-05 22:15:29 +02:00
Sergio Pedri
25a213bcd0 Rename [ICommand] to [RelayCommand] 2022-06-02 01:40:58 +02:00
Sergio Pedri
0267515b9d Rename [NotifyRecipients] to [NotifyPropertyChangedRecipients] 2022-06-01 23:26:55 +02:00
Sergio Pedri
4a3f919f71 Add unit test for inheriting [INotifyDataErrorInfo] 2022-06-01 23:26:54 +02:00
Sergio Pedri
69ddcfd8bb Add test case for inheriting multiple class-level attributes 2022-06-01 23:26:54 +02:00
Sergio Pedri
6af95b5e03 Add tests for class-level attributes 2022-06-01 23:26:54 +02:00
Sergio Pedri
52e5ebfd18 Rename [NotifyRecipients] attribute 2022-06-01 23:26:53 +02:00
Sergio Pedri
29f94a4ce7 Rename [NotifyDataErrorInfo] attribute 2022-06-01 23:26:53 +02:00
Sergio Pedri
91a7798e42 Rename [NotifyCanExecuteChangedFor] attribute 2022-06-01 23:26:52 +02:00
Sergio Pedri
e7527d79b4 Rename [NotifyPropertyChangedFor] attribute 2022-06-01 23:26:52 +02:00
Sergio Pedri
138f67d3a4 Fix ICommand generator with inherited CanExecute members 2022-06-01 22:26:45 +02:00
Sergio Pedri
d429e0327b Fix source generators for types in global namespace 2022-06-01 22:08:12 +02:00
Sergio Pedri
0b15992b66 Add unit test for [AlsoValidateProperty] 2022-05-31 12:32:48 +02:00
Sergio Pedri
e202a554e7 Forward all DataAnnotations attribute for [ObservableProperty] 2022-05-31 12:32:47 +02:00
Sergio Pedri
d4a8971ff6
Merge pull request #237 from danielbanda/Typos
Typos
2022-05-25 20:12:29 +02:00
Sergio Pedri
6af97af3ee Fix [ICommand] CanExecute with inherited generated property 2022-05-20 14:22:28 +02:00
Sergio Pedri
27fd6c38f2 Add unit tests for [Display] breaking [AlsoBroadcastChange] 2022-05-10 15:41:05 +02:00
Sergio Pedri
9f951c2cf0 Make source generators culture invariant 2022-05-09 21:44:12 +02:00
Sergio Pedri
414c8375a3 Add unit test for base viewmodel in separate assembly 2022-05-09 16:11:44 +02:00
Sergio Pedri
d1f7c051aa Resolve some build warnings 2022-05-09 15:58:40 +02:00
Sergio Pedri
f92fef7137 Add more unit tests for generics with [ObservableProperty]
This covers all cases from #224 as well.
2022-05-09 15:58:40 +02:00
Daniel Banda
f2dce06b4d Fixing some typos. 2022-05-03 21:21:10 -07:00
Sergio Pedri
759c6b3f33 Add unit test for diagnostics on inherited members 2022-04-06 18:14:00 +02: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
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
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
0162c71c5b Add unit test for [AlsoNotifyCanExecuteFor] 2021-12-09 21:02:08 +01:00
Sergio Pedri
7d68280215 Remove redundant [TestCategory] attributes 2021-11-04 21:48:54 +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
58c0dd96c4 Fix namespaces in unit test projects 2021-11-01 22:12:56 +01:00
Sergio Pedri
c176080d37 Switch whole solution to file-scoped namespaces 2021-11-01 20:46:46 +01:00
Sergio Pedri
7a2295b03c Update some code style rules
In particular:
- Use explicit types everywhere to improve clarity
- Use target-typed new() expression when target is explicit
- Use explicit discard for value-returning statements
2021-11-01 20:34:00 +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