diff options
Diffstat (limited to 'Xamarin.PropertyEditing.Mac/Controls/Custom/NotifyingViewController.cs')
-rw-r--r-- | Xamarin.PropertyEditing.Mac/Controls/Custom/NotifyingViewController.cs | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/Xamarin.PropertyEditing.Mac/Controls/Custom/NotifyingViewController.cs b/Xamarin.PropertyEditing.Mac/Controls/Custom/NotifyingViewController.cs index 86c58d4..21eaa73 100644 --- a/Xamarin.PropertyEditing.Mac/Controls/Custom/NotifyingViewController.cs +++ b/Xamarin.PropertyEditing.Mac/Controls/Custom/NotifyingViewController.cs @@ -13,16 +13,16 @@ namespace Xamarin.PropertyEditing.Mac class NotifyingViewController<T> : NSViewController, INotifyingListner<T> where T : NotifyingObject { internal T ViewModel { - get => adaptor.ViewModel; - set => adaptor.ViewModel = value; + get => Adaptor.ViewModel; + set => Adaptor.ViewModel = value; } public NotifyingViewController () { - adaptor = new NotifyingViewAdaptor<T> (this); + Adaptor = new NotifyingViewAdaptor<T> (this); } - protected NotifyingViewAdaptor<T> adaptor { get; } + protected NotifyingViewAdaptor<T> Adaptor { get; } public virtual void OnViewModelChanged (T oldModel) { |