Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/xamarin/Xamarin.PropertyEditing.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLarry Ewing <lewing@microsoft.com>2018-07-12 05:51:45 +0300
committerLarry Ewing <lewing@microsoft.com>2018-07-16 22:05:49 +0300
commit4fae4441c00171a4ddecf9045d383e8732a83790 (patch)
tree68d6d4659253ee8dc9a13d6ac617f70a583aa628 /Xamarin.PropertyEditing.Mac
parentd258ab2cfb7509f43fa0420d6fe68b23a2b7fe5e (diff)
Coding style fixes
Diffstat (limited to 'Xamarin.PropertyEditing.Mac')
-rw-r--r--Xamarin.PropertyEditing.Mac/Controls/Custom/NotifyingViewAdaptor.cs14
1 files changed, 7 insertions, 7 deletions
diff --git a/Xamarin.PropertyEditing.Mac/Controls/Custom/NotifyingViewAdaptor.cs b/Xamarin.PropertyEditing.Mac/Controls/Custom/NotifyingViewAdaptor.cs
index 9a5b39d..74bd530 100644
--- a/Xamarin.PropertyEditing.Mac/Controls/Custom/NotifyingViewAdaptor.cs
+++ b/Xamarin.PropertyEditing.Mac/Controls/Custom/NotifyingViewAdaptor.cs
@@ -22,22 +22,22 @@ namespace Xamarin.PropertyEditing.Mac
private T viewModel;
internal T ViewModel {
- get => viewModel;
+ get => this.viewModel;
set {
- var oldModel = viewModel;
- if (viewModel == value)
+ var oldModel = this.viewModel;
+ if (this.viewModel == value)
return;
if (oldModel != null)
oldModel.PropertyChanged -= OnPropertyChanged;
- viewModel = value;
+ this.viewModel = value;
OnViewModelChanged (oldModel);
- if (viewModel == null)
+ if (this.viewModel == null)
return;
-
- viewModel.PropertyChanged += OnPropertyChanged;
+
+ this.viewModel.PropertyChanged += OnPropertyChanged;
}
}