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

178 Commits

Author SHA1 Message Date
Sergio Pedri
28af36a269 Add incremental ICommandGenerator 2021-12-29 18:28:34 +01:00
Sergio Pedri
84c3e291ba Port incremental helpers from ComputeSharp
Also added attribution in ThirdPartyNotices.txt
2021-12-29 18:28:34 +01:00
Sergio Pedri
85d2c0f166 Add System.HashCode polyfill 2021-12-29 18:28:34 +01:00
Sergio Pedri
3e61aeb3c1 Remove [Pure] attribute usages 2021-12-29 18:06:54 +01:00
Sergio Pedri
f6b604a824 Add dot to exception messages in remaining call sites 2021-12-20 13:15:20 +01:00
Sergio Pedri
0ca0170da9 Resolve rebase build errors 2021-12-10 00:58:55 +01:00
Sergio Pedri
75c51164b3 Add concurrency control setting to [ICommand] attribute 2021-12-10 00:08:12 +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
6c826407a0
Merge pull request #50 from CommunityToolkit/dev/icommand-attribute-canexecute
Add [ICommand] CanExecute property
2021-12-09 21:00:42 +01:00
Sergio Pedri
042ff3f4c6 Add diagnostics tests for CanExecute feature, bug fixes 2021-12-09 10:49:58 +01:00
Sergio Pedri
1b66760d67 Add initial support for [ICommand] CanExecute property 2021-12-09 10:49:58 +01:00
Sergio Pedri
b86238cad3 Update TransitiveMembersGenerator for new embedded resources 2021-12-02 18:04:37 +01:00
Sergio Pedri
680be4180e Switch ObservableRecipient template to global:: qualifiers 2021-12-02 18:04:37 +01:00
Sergio Pedri
9a4e381353 Switch ObservableObject template to global:: qualifiers 2021-12-02 18:04:37 +01:00
Sergio Pedri
12d7672a38 Switch INotifyPropertyChanged template to global:: qualifiers 2021-12-02 18:04:37 +01:00
Sergio Pedri
806287d7e2 Fix generated source for nullability attributes
This both adds the new "// <auto-generated/>" header, as well as restores the non-file-scoped namespace declaration so that the code will compile on C# < 10 as well (which is explicitly supported by the MVVM Toolkit)
2021-11-15 11:23:44 +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
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
9f4c9fad7f Remove unnecessary using directives 2021-11-01 22:14:16 +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
11ab330e69 Enable nullability annotations in the entire solution 2021-11-01 19:27:55 +01:00
Sergio Pedri
25879bbaa4 Update NuGet packages in the solution 2021-11-01 19:01:04 +01:00
Sergio Pedri
941098338f Remove .NET Core 2.1 targets 2021-11-01 17:48:32 +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