Commit Graph

32 Commits

Author SHA1 Message Date
Sergio Pedri 0267515b9d Rename [NotifyRecipients] to [NotifyPropertyChangedRecipients] 2022-06-01 23:26:55 +02:00
Sergio Pedri 4d8630b480 Enable diagnostics for class-level recipient/validation 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 77b39b630b
Merge pull request #284 from CommunityToolkit/dev/use-g-cs-generated-extension
Use ".g.cs" extension for all generated files
2022-06-01 22:06:12 +02:00
Sergio Pedri 171b89b0f0 Enable AlsoValidatePropertyAttribute generation 2022-05-31 12:32:48 +02:00
Sergio Pedri 8157b745bc Use ".g.cs" extension for all generated files 2022-05-30 18:25:04 +02:00
Sergio Pedri 4b825ad126 Replace ToFullStrin() with GetText(Encoding) 2022-05-28 13:28:11 +02:00
Sergio Pedri 61539a26b8 Remove unnecessary using directives 2022-05-03 16:19:41 +02:00
Sergio Pedri 8fba78db76 Simplify AddSource(...) calls 2022-03-25 22:28:53 +01:00
Sergio Pedri 668de52f39 Enable orphaning diagnostics for [AlsoBroadcastChange] 2022-03-16 15:30:03 +01:00
Sergio Pedri 17d4df6555 Add diagnostics for orphaned [ObservableProperty] dependent attributes 2022-03-13 20:07:27 +01:00
Sergio Pedri e694deff8e Minor code tweaks 2022-03-13 19:42:10 +01:00
Sergio Pedri ab6d3007e6 Skip generating properties when there is a name collision 2022-03-13 15:47:11 +01:00
Sergio Pedri f487d92f87 Add partial generation for OnPropertyChanging/Changed 2022-03-01 00:17:29 +01:00
Sergio Pedri 9cc7d41c1e Add FilterWithLanguageVersion extension to gate on language version 2021-12-29 18:31:11 +01:00
Sergio Pedri 13a9149eee Lower C# version requirement to 8 for all generators 2021-12-29 18:31:11 +01:00
Sergio Pedri 8bbc3092fe Enable diagnostics for ObservablePropertyGenerator 2021-12-29 18:30:53 +01:00
Sergio Pedri bf02beea06 Fix __KnownPropertyChangedEventArgs generation 2021-12-29 18:30:53 +01:00
Sergio Pedri 9defa26408 Minor code refactoring 2021-12-29 18:30:53 +01:00
Sergio Pedri b173cd3570 Remove non incremental ObservablePropertyGenerator 2021-12-29 18:30:53 +01:00
Sergio Pedri 3e61aeb3c1 Remove [Pure] attribute usages 2021-12-29 18:06:54 +01:00
Sergio Pedri 15e1ba4631 Minor code refactoring 2021-12-09 21:02:08 +01:00
Sergio Pedri b57f21327b Enabled generation support or [AlsoNotifyCanExecuteFor] 2021-12-09 21:02:07 +01:00
Sergio Pedri 12750907cb Switch generated headers to "// <auto-generated/>" 2021-11-15 11:22:42 +01:00
Sergio Pedri 6afdd81742 Refactor multiline variable declarations 2021-11-01 23:42:45 +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