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

14 Commits

Author SHA1 Message Date
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
7d52b58e76 Fix conflicting generation of nullability attributes 2022-01-13 20:30:28 +01:00
Sergio Pedri
704e5073f1 Enable implementing OnActivated/OnDeactivated with [ObservableRecipient] 2021-12-31 17:58:12 +01:00
Sergio Pedri
afc7232dc7 Improve custom filtering support in TransitiveMembersGenerator<TInfo> 2021-12-29 20:52:50 +01:00
Sergio Pedri
f8dcd09581 Remove call to MulticastDelegate.op_Equality 2021-12-29 18:31:48 +01:00
Sergio Pedri
13a9149eee Lower C# version requirement to 8 for all generators 2021-12-29 18:31:11 +01:00
Sergio Pedri
9474591020 Centralize handling of sealed target types 2021-12-29 18:31:11 +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
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