diff options
author | dvorn <sgd@list.ru> | 2017-03-28 09:27:17 +0300 |
---|---|---|
committer | dvorn <sgd@list.ru> | 2017-03-28 09:27:17 +0300 |
commit | 088511fe7d92e193c5a5ec6dcb6ed31caf2f98ec (patch) | |
tree | 84379a10cc92921ce283ee3e675d14ed45951b67 | |
parent | 8b6e27e6fcfa612b63020bae607ae4a47520d9a1 (diff) |
More cleanup
-rw-r--r-- | Source/Wpf/Prism.Wpf.Tests/Mocks/ViewModels/MockViewModel.cs | 2 | ||||
-rw-r--r-- | Source/Wpf/Prism.Wpf/Regions/ViewsCollection.cs | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/Source/Wpf/Prism.Wpf.Tests/Mocks/ViewModels/MockViewModel.cs b/Source/Wpf/Prism.Wpf.Tests/Mocks/ViewModels/MockViewModel.cs index cd01ade..49e1fd0 100644 --- a/Source/Wpf/Prism.Wpf.Tests/Mocks/ViewModels/MockViewModel.cs +++ b/Source/Wpf/Prism.Wpf.Tests/Mocks/ViewModels/MockViewModel.cs @@ -21,7 +21,7 @@ namespace Prism.Wpf.Tests.Mocks.ViewModels internal void InvokeOnPropertyChanged() { - this.OnPropertyChanged(() => this.MockProperty); + this.RaisePropertyChanged(nameof(MockProperty)); } } } diff --git a/Source/Wpf/Prism.Wpf/Regions/ViewsCollection.cs b/Source/Wpf/Prism.Wpf/Regions/ViewsCollection.cs index f39bda5..7519ed1 100644 --- a/Source/Wpf/Prism.Wpf/Regions/ViewsCollection.cs +++ b/Source/Wpf/Prism.Wpf/Regions/ViewsCollection.cs @@ -14,7 +14,7 @@ namespace Prism.Regions /// and filters it to display an <see cref="INotifyCollectionChanged"/> collection of /// <see cref="object"/> elements (the items which the <see cref="ItemMetadata"/> wraps). /// </summary> - public partial class ViewsCollection : IViewsCollection + public class ViewsCollection : IViewsCollection { private readonly ObservableCollection<ItemMetadata> subjectCollection; |