diff options
Diffstat (limited to 'Xamarin.PropertyEditing.Windows.Standalone/MockedSampleControlButton.cs')
-rw-r--r-- | Xamarin.PropertyEditing.Windows.Standalone/MockedSampleControlButton.cs | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/Xamarin.PropertyEditing.Windows.Standalone/MockedSampleControlButton.cs b/Xamarin.PropertyEditing.Windows.Standalone/MockedSampleControlButton.cs index a793c3d..5a7765e 100644 --- a/Xamarin.PropertyEditing.Windows.Standalone/MockedSampleControlButton.cs +++ b/Xamarin.PropertyEditing.Windows.Standalone/MockedSampleControlButton.cs @@ -23,23 +23,23 @@ namespace Xamarin.PropertyEditing.Windows.Standalone MockedControl.AddProperty<CommonBrush> (this.readOnlyBrushPropertyInfo); } - public async Task SetBrushInitialValue (IObjectEditor editor, CommonBrush brush) + public async Task SetBrushInitialValueAsync (IObjectEditor editor, CommonBrush brush) { if (this.brushSet) return; await editor.SetValueAsync (this.brushPropertyInfo, new ValueInfo<CommonBrush> { Value = brush }); this.brushSet = true; } - public async Task SetReadOnlyBrushInitialValue (IObjectEditor editor, CommonBrush brush) + public async Task SetReadOnlyBrushInitialValueAsync (IObjectEditor editor, CommonBrush brush) { if (this.readOnlyBrushSet) return; await editor.SetValueAsync (this.readOnlyBrushPropertyInfo, new ValueInfo<CommonBrush> { Value = brush }); this.readOnlyBrushSet = true; } - IPropertyInfo brushPropertyInfo; - IPropertyInfo readOnlyBrushPropertyInfo; - bool brushSet = false; - bool readOnlyBrushSet = false; + private IPropertyInfo brushPropertyInfo; + private IPropertyInfo readOnlyBrushPropertyInfo; + private bool brushSet = false; + private bool readOnlyBrushSet = false; } } |