diff options
author | Eric Maupin <ermaup@microsoft.com> | 2019-03-19 21:56:04 +0300 |
---|---|---|
committer | Eric Maupin <ermaup@microsoft.com> | 2019-04-24 22:03:17 +0300 |
commit | c6e3613c6ea5bc087e026d2b4ed1f0e7d3133049 (patch) | |
tree | 7e31ac421a70431fe4df0f3c267742bbdf5046af /Xamarin.PropertyEditing.Windows | |
parent | 72b0e3368581a5d0d081afcbe86ebd0a894b5d9f (diff) |
[Core] Tighten variation naming
This tightens up the naming distinctions:
- Variation - The set of VariationOptions defining when the Variant will
be active.
- Variant - The collective property, Variation and its value.
It also asyncifies the request for Mac
Diffstat (limited to 'Xamarin.PropertyEditing.Windows')
-rw-r--r-- | Xamarin.PropertyEditing.Windows/CreateVariantWindow.xaml.cs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Xamarin.PropertyEditing.Windows/CreateVariantWindow.xaml.cs b/Xamarin.PropertyEditing.Windows/CreateVariantWindow.xaml.cs index 31f8189..5a34794 100644 --- a/Xamarin.PropertyEditing.Windows/CreateVariantWindow.xaml.cs +++ b/Xamarin.PropertyEditing.Windows/CreateVariantWindow.xaml.cs @@ -11,7 +11,7 @@ namespace Xamarin.PropertyEditing.Windows { public CreateVariantWindow (IEnumerable<ResourceDictionary> merged, IPropertyInfo property) { - DataContext = new CreateVariationViewModel (property); + DataContext = new CreateVariantViewModel (property); InitializeComponent (); Resources.MergedDictionaries.AddItems (merged); } @@ -26,8 +26,8 @@ namespace Xamarin.PropertyEditing.Windows if (!w.ShowDialog () ?? false) return null; - var vm = (CreateVariationViewModel)w.DataContext; - return vm.Variant; + var vm = (CreateVariantViewModel)w.DataContext; + return vm.Variation; } private void OnOkClicked (object sender, RoutedEventArgs e) |