Sergio Pedri
2b84771d1f
Added SetAndNotifyOnCompletion overload with callback
2020-07-11 00:11:45 +02:00
Sergio Pedri
32dab841b4
Added IsRunning property to async commands
2020-07-10 23:58:15 +02:00
Sergio Pedri
fe55561d38
Initial code refactoring to SetAndNotifyOnCompletion
2020-07-10 23:58:03 +02:00
Sergio Pedri
0bcac42cbd
Improved tests for ISubscriber<T> APIs
2020-07-10 20:11:09 +02:00
Sergio Pedri
7e5ffc6585
Improved remarks for ViewModeBase.OnDeactivated
2020-07-10 19:51:35 +02:00
Sergio Pedri
7bb0dbf70b
Added more comments to SetAndNotifyOnCompletion
2020-07-10 19:25:53 +02:00
Sergio Pedri
0b7ee9a538
Added ViewModelBase test for message unregistration
2020-07-10 19:11:46 +02:00
Sergio Pedri
269265ecc8
Added new unit tests, minor bug fixes
2020-07-10 16:08:09 +02:00
Sergio Pedri
a704cafb98
Minor code refactoring
2020-07-10 14:40:47 +02:00
Sergio Pedri
44f61b4882
Added ISubscriber<TMessage> interface, new extensions
2020-07-10 14:40:29 +02:00
Sergio Pedri
5b5ea1c74f
Fixed a bug in the unit tests
2020-07-01 16:01:25 +02:00
Sergio Pedri
d8d7e80fe9
Added GetResponsesAsync API to AsyncCollectionRequestMessage<T>
2020-07-01 13:06:57 +02:00
Sergio Pedri
24c30e22e9
Minor tweaks to AsyncCollectionRequestMessage<T>
2020-07-01 12:57:09 +02:00
Sergio Pedri
d4ff8519d9
Updated Task<T>.ResultOrDefault<T> on .NET Standard 2.1
2020-06-28 14:05:40 +02:00
Sergio Pedri
862bdf5310
Minor code refactoring
2020-06-28 13:41:24 +02:00
Sergio Pedri
265857c513
Minor code style tweaks
2020-06-28 13:36:14 +02:00
Sergio Pedri
e92fd9a531
Fixed ambiguous match in XML comment
2020-06-28 13:22:40 +02:00
Sergio Pedri
93ca160f2a
Added missing readonly modifier to Unit type
2020-06-28 13:21:47 +02:00
Sergio Pedri
3b1612f560
Minor bug fixes and code refactoring
2020-06-28 13:19:05 +02:00
Sergio Pedri
d94c429519
Added unit tests for new request message types
2020-06-26 15:05:07 +02:00
Sergio Pedri
548a8148ba
Improved Messenger XML docs
2020-06-26 13:31:11 +02:00
Sergio Pedri
cd189e2836
Added AsyncCollectionRequestMessage<T> class
2020-06-26 13:18:49 +02:00
Sergio Pedri
a7b718d1d5
Added CollectionRequestMessage<T> class
2020-06-26 13:18:39 +02:00
Sergio Pedri
841537d023
Added AsyncRequestMessage<T> class
2020-06-26 12:39:07 +02:00
Sergio Pedri
d704281954
Merge branch 'master' into feature/mvvm-apis
2020-06-26 12:32:38 +02:00
msftbot[bot]
f0256d58ab
Fixed local errors in .NET Core 2.1 unit tests ( #3365 )
...
## PR Type
What kind of change does this PR introduce?
<!-- Please uncomment one or more that apply to this PR. -->
- Bugfix
- Build or CI related changes
<!-- - Documentation content changes -->
<!-- - Sample app changes -->
<!-- - Other... Please describe: -->
## What is the current behavior?
<!-- Please describe the current behavior that you are modifying, or link to a relevant issue. -->
Some .NET Core 2.1 unit tests for the base package fail when run locally.
## What is the new behavior?
<!-- Describe how was this issue resolved or changed? -->
All tests run correctly when executed locally.
## PR Checklist
Please check if your PR fulfills the following requirements:
- [X] Tested code with current [supported SDKs](../readme.md#supported)
- [ ] ~~Pull Request has been submitted to the documentation repository [instructions](..\contributing.md#docs). Link: <!-- docs PR link -->~~
- [ ] ~~Sample in sample app has been added / updated (for bug fixes / features)~~
- [ ] ~~Icon has been created (if new sample) following the [Thumbnail Style Guide and templates](https://github.com/windows-toolkit/WindowsCommunityToolkit-design-assets )~~
- [X] Tests for the changes have been added (for bug fixes / features) (if applicable)
- [X] Header has been added to all new source files (run *build/UpdateHeaders.bat*)
- [X] Contains **NO** breaking changes
<!-- If this PR contains a breaking change, please describe the impact and migration path for existing applications below.
Please note that breaking changes are likely to be rejected. -->
2020-06-26 00:32:23 +00:00
Sergio Pedri
19975a1df7
Fixed local errors in .NET Core 2.1 unit tests
2020-06-25 18:59:21 +02:00
Sergio Pedri
a0f3e74249
Renamed some APIs in RequestMessage<T>
2020-06-25 17:59:38 +02:00
Sergio Pedri
bf9837cc8f
Fixed a copy-paste error in filename
2020-06-25 13:39:59 +02:00
Sergio Pedri
fbb7e85764
Added tests for TaskExtensions class
2020-06-25 13:26:16 +02:00
Sergio Pedri
81a68ac913
Fixed a refactoring typo
2020-06-24 19:30:11 +02:00
Sergio Pedri
a49f8df0ab
Merge pull request #24 from Sergio0694/optimization/faster-messenger
...
Faster messenger
2020-06-24 18:46:34 +02:00
Sergio Pedri
bb48dad0e2
~88% speedup in Messenger.Send
2020-06-24 18:38:34 +02:00
Sergio Pedri
5bc0befcb2
Removed unnecessary overload
2020-06-24 18:05:00 +02:00
Sergio Pedri
eb393ae1fa
~17% speedup in Messenger.Send
2020-06-24 17:55:05 +02:00
Sergio Pedri
32527ac443
Added property to track the total handlers
2020-06-24 17:40:38 +02:00
Sergio Pedri
c652ca247b
Added IDictionarySlim interface
2020-06-24 17:24:18 +02:00
Sergio Pedri
98a706bbf5
Added object base version of TryRemove API
2020-06-24 17:19:56 +02:00
Sergio Pedri
449d1547ab
Added IDictionarySlim<TKey, TValue>.TryRemove API
2020-06-24 17:11:31 +02:00
Sergio Pedri
d10e6aea8a
Improved nullability annotations
2020-06-24 17:09:16 +02:00
Sergio Pedri
acafc5d705
Fixed a typo
2020-06-24 13:57:00 +02:00
Sergio Pedri
9b64d626cc
Added override support for events in ObservableObject
2020-06-24 13:08:44 +02:00
Sergio Pedri
658d973e6b
Minor code tweak
2020-06-23 13:39:10 +02:00
Sergio Pedri
7102235a3e
Merge branch 'dev/7.0.0' into feature/mvvm-apis
2020-06-23 13:26:38 +02:00
Sergio Pedri
9848fdb22d
Moved al messenger-related functionality to ViewModelBase
2020-06-22 19:12:57 +02:00
Sergio Pedri
5787b319f4
Code refactoring, added TaskResultConverter
2020-06-22 18:05:27 +02:00
Michael Hawker MSFT (XAML Llama)
76c37fe134
Merge pull request #3350 from Sergio0694/bugfix/hp-package-ci
...
Reduce memory pressure in CI tests for HP package
2020-06-22 09:03:23 -07:00
Sergio Pedri
79eae3301f
Deprecated NotifyTaskCompletion<TResult> type
2020-06-22 17:51:06 +02:00
Sergio Pedri
50902561f0
Added new Set<T> overloads with callback
2020-06-21 00:09:52 +02:00
Sergio Pedri
00dc964bb5
Removed unnecessary attributes
2020-06-20 23:46:52 +02:00