diff options
author | Eric Maupin <ermaup@microsoft.com> | 2019-09-03 20:08:23 +0300 |
---|---|---|
committer | Eric Maupin <ermaup@microsoft.com> | 2019-09-03 20:08:23 +0300 |
commit | 8470ca99ec94d23ce6e82169fb0a6bfdf0938063 (patch) | |
tree | b313b101aaaebfb33cf8873c283e19f8ce63d03a /Xamarin.PropertyEditing.Mac | |
parent | 607904caa227b40f90d4c4377d5400bfd7e44f7f (diff) |
[mac] GetFacade should return Facade
Diffstat (limited to 'Xamarin.PropertyEditing.Mac')
-rw-r--r-- | Xamarin.PropertyEditing.Mac/PropertyTableDataSource.cs | 8 | ||||
-rw-r--r-- | Xamarin.PropertyEditing.Mac/PropertyTableDelegate.cs | 2 |
2 files changed, 5 insertions, 5 deletions
diff --git a/Xamarin.PropertyEditing.Mac/PropertyTableDataSource.cs b/Xamarin.PropertyEditing.Mac/PropertyTableDataSource.cs index 28071a7..1a312e0 100644 --- a/Xamarin.PropertyEditing.Mac/PropertyTableDataSource.cs +++ b/Xamarin.PropertyEditing.Mac/PropertyTableDataSource.cs @@ -108,9 +108,9 @@ namespace Xamarin.PropertyEditing.Mac return f.Target is PanelGroupViewModel; } - public NSObject GetFacade (object element) + public NSObjectFacade GetFacade (object element) { - NSObject facade; + NSObjectFacade facade; if (element is PanelGroupViewModel) { if (!this.groupFacades.TryGetValue (element, out facade)) { this.groupFacades[element] = facade = new NSObjectFacade (element); @@ -121,12 +121,12 @@ namespace Xamarin.PropertyEditing.Mac return facade; } - public bool TryGetFacade (object element, out NSObject facade) + public bool TryGetFacade (object element, out NSObjectFacade facade) { return this.groupFacades.TryGetValue (element, out facade); } private readonly PanelViewModel vm; - private readonly Dictionary<object, NSObject> groupFacades = new Dictionary<object, NSObject> (); + private readonly Dictionary<object, NSObjectFacade> groupFacades = new Dictionary<object, NSObjectFacade> (); } } diff --git a/Xamarin.PropertyEditing.Mac/PropertyTableDelegate.cs b/Xamarin.PropertyEditing.Mac/PropertyTableDelegate.cs index 548c619..53c5ec2 100644 --- a/Xamarin.PropertyEditing.Mac/PropertyTableDelegate.cs +++ b/Xamarin.PropertyEditing.Mac/PropertyTableDelegate.cs @@ -31,7 +31,7 @@ namespace Xamarin.PropertyEditing.Mac outlineView.ExpandItem (null, true); } else { foreach (PanelGroupViewModel g in this.dataSource.DataContext.ArrangedEditors) { - NSObject item; + NSObjectFacade item; if (!this.dataSource.TryGetFacade (g, out item)) continue; |