Commit Graph

154 Commits

Author SHA1 Message Date
Sergio Pedri 321fc508a6 Switch __ObservableValidatorHelper to [UnconditionalSuppressMessage] 2022-08-02 19:18:52 +02:00
Sergio Pedri c80930f166 Add UnconditionalSuppressMessageAttribute polyfill 2022-08-02 19:18:52 +02:00
Sergio Pedri 3abc8a9dcb Replace linker suppressions with attributes 2022-08-02 19:00:14 +02:00
Sergio Pedri 08bf8998fc
Merge pull request #301 from CommunityToolkit/dev/relay-command-argument-exceptions
Improve exceptions for invalid command arguments
2022-06-23 16:54:23 +02:00
Sergio Pedri 86aaa9953d Remove "_" prefixes from .targets elements 2022-06-22 16:00:35 +02:00
Sergio Pedri 77776099bd Add unique prefixes to all .targets properties and items 2022-06-21 16:40:04 +02:00
Sergio Pedri 56b5fe4a7b Add ArgumentException-s for invalid command arguments 2022-06-13 17:54:20 +02:00
Sergio Pedri 7fdc18e35b
Merge pull request #309 from CommunityToolkit/dev/fix-fields-this-qualifier
Add "this." prefix to all field accesses
2022-06-13 17:51:45 +02:00
Sergio Pedri 786ba0b5d4 Rename fields still using _lowerCamelCase names 2022-06-11 16:50:29 +02:00
Sergio Pedri 58aa6a7281 Add missing trimming annotations 2022-06-11 16:31:24 +02:00
Sergio Pedri 6972de2fee Add "this." prefix to all field accesses 2022-06-11 16:28:44 +02:00
Nirmal Guru 41abf66445 Update EditorConfig and Git files
- Add default Git attributes.
- Update Git ignores to latest.
- Merge duplicate EditorConfig rules.
- Format projects to EditorConfig rules.
- Fix formatting errors in 'Guard.md' file.
2022-06-11 15:36:02 +02:00
Nirmal Guru 3adf6fb689 Remove BOM from all files
Renormalize new lines and remove BOM from all files
2022-06-11 15:36:02 +02:00
Sergio Pedri 464e331149 Update System.Memory NuGet package to 4.5.5 2022-06-07 11:48:09 +02:00
Sergio Pedri 612055be6f Add async void notes in AsyncRelayCommand 2022-06-07 11:09:11 +02:00
Sergio Pedri 0d7ec7a24e Add FlowExceptionsToTaskScheduler generator support 2022-06-04 16:37:32 +02:00
Sergio Pedri dba9c4163e Implement FlowExceptionsToTaskScheduler option 2022-06-04 15:20:30 +02:00
Sergio Pedri 79204ab489 Switch async command types to use AsyncRelayCommandOptions 2022-06-04 15:20:30 +02:00
Sergio Pedri 6d73083bf8 Add AsyncRelayCommandOptions enum 2022-06-04 15:20:30 +02:00
Sergio Pedri 69419e7acf
Merge pull request #288 from CommunityToolkit/dev/revamp-attributes
Rename attributes, enable class-level support
2022-06-04 13:53:07 +02:00
Hank McCord 376a2e2f4b
Update InternalsVisibleTo usages with public token 2022-06-02 22:04:08 -04: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 139068f297 Enable class-level [NotifyDataErrorInfo] usage 2022-06-01 23:26:53 +02:00
Sergio Pedri 0f0d7bb847 Enable class-level [NotifyRecipients] usage 2022-06-01 23:26:53 +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 95c30fa366
Merge pull request #278 from CommunityToolkit/dev/restore-mvvm-trim-analyzer
Enable trim analyzers in MVVM Toolkit again
2022-06-01 22:09:09 +02:00
Sergio Pedri 488a7628f3 Add AlsoValidatePropertyAttribute type 2022-05-31 12:32:48 +02:00
Sergio Pedri 5e218b761d Enable trim analyzers in MVVM Toolkit again 2022-05-27 14:39:09 +02:00
Sergio Pedri d4a8971ff6
Merge pull request #237 from danielbanda/Typos
Typos
2022-05-25 20:12:29 +02:00
Sergio Pedri db831fc34f Fix build error with generic ObservableValidator types 2022-05-24 09:54:51 +02:00
Sergio Pedri b52b427058 Remove [Conditional] from MVVM Toolkit attributes 2022-05-09 16:11:44 +02:00
Daniel Banda f2dce06b4d Fixing some typos. 2022-05-03 21:21:10 -07:00
Sergio Pedri ba20320cdc Add a comment explaining the collection fast paths 2022-04-06 22:52:19 +02:00
Sergio Pedri d1e75b9893 Add ObservableGroupedCollectionExtensions tests, bug fixes 2022-04-06 22:48:57 +02:00
Sergio Pedri bf31152d47 Optimize ILookup<TKey, TElement> implementations 2022-04-06 22:48:56 +02:00
Sergio Pedri f6a0f3fae8 Add null checks to public APIs 2022-04-06 22:48:56 +02:00
Sergio Pedri 08fca92424 Update ObservableGroupedCollectionExtensions with new shape 2022-04-06 22:48:56 +02:00
Sergio Pedri 2712e9b282 Seal ObservableGroup<TKey, TElement> for consistency 2022-04-06 22:48:56 +02:00
Sergio Pedri fcdd3561fc Add [DebuggerDisplay] to ReadOnlyObservableGroup<,> 2022-04-06 22:48:55 +02:00
Sergio Pedri 224b3342e5 Add ILookup<,> to observable grouped collections 2022-04-06 22:48:55 +02:00
Sergio Pedri b522487acb Rename TValue type params to TElement 2022-04-06 22:48:55 +02:00
Sergio Pedri a3be770bed Add IReadOnlyObservableGroup<out TKey, out TElement> 2022-04-06 22:48:55 +02:00
Sergio Pedri d08e1b74d7 Add new interfaces/members to IReadOnlyObservableGroup 2022-04-06 22:48:55 +02:00
Sergio Pedri 2d582421ed Improvements to ReadOnlyObservableGroupedCollection logic 2022-04-06 22:48:54 +02:00
Sergio Pedri 6d2a502334 Improve ReadOnlyObservableGroupedCollection<TKey, TValue> constructors 2022-04-06 22:48:54 +02:00
Sergio Pedri 684a650059 Improve caching of KeyChangedEventArgs 2022-04-06 22:48:54 +02:00