Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Switch these two back, restore sanity

  • Loading branch information...
commit bca994754aee00044b598f2922d3b3a8fbace0b9 1 parent 287de1a
@paulcbetts authored
View
14 AkavacheExplorer/Views/JsonValueView.xaml.cs
@@ -17,25 +17,25 @@
namespace AkavacheExplorer.Views
{
/// <summary>
- /// Interaction logic for TextValueView.xaml
+ /// Interaction logic for JsonValueView.xaml
/// </summary>
- public partial class TextValueView : UserControl, IViewForViewModel<TextValueViewModel>
+ public partial class JsonValueView : UserControl, IViewForViewModel<JsonValueViewModel>
{
- public TextValueView()
+ public JsonValueView()
{
InitializeComponent();
}
- public TextValueViewModel ViewModel {
- get { return (TextValueViewModel)GetValue(ViewModelProperty); }
+ public JsonValueViewModel ViewModel {
+ get { return (JsonValueViewModel)GetValue(ViewModelProperty); }
set { SetValue(ViewModelProperty, value); }
}
public static readonly DependencyProperty ViewModelProperty =
- DependencyProperty.Register("ViewModel", typeof(TextValueViewModel), typeof(TextValueView), new UIPropertyMetadata(null));
+ DependencyProperty.Register("ViewModel", typeof(JsonValueViewModel), typeof(JsonValueView), new UIPropertyMetadata(null));
object IViewForViewModel.ViewModel {
get { return ViewModel; }
- set { ViewModel = (TextValueViewModel) value; }
+ set { ViewModel = (JsonValueViewModel) value; }
}
}
}
View
14 AkavacheExplorer/Views/TextValueView.xaml.cs
@@ -17,25 +17,25 @@
namespace AkavacheExplorer.Views
{
/// <summary>
- /// Interaction logic for JsonValueView.xaml
+ /// Interaction logic for TextValueView.xaml
/// </summary>
- public partial class JsonValueView : UserControl, IViewForViewModel<JsonValueViewModel>
+ public partial class TextValueView : UserControl, IViewForViewModel<TextValueViewModel>
{
- public JsonValueView()
+ public TextValueView()
{
InitializeComponent();
}
- public JsonValueViewModel ViewModel {
- get { return (JsonValueViewModel)GetValue(ViewModelProperty); }
+ public TextValueViewModel ViewModel {
+ get { return (TextValueViewModel)GetValue(ViewModelProperty); }
set { SetValue(ViewModelProperty, value); }
}
public static readonly DependencyProperty ViewModelProperty =
- DependencyProperty.Register("ViewModel", typeof(JsonValueViewModel), typeof(JsonValueView), new UIPropertyMetadata(null));
+ DependencyProperty.Register("ViewModel", typeof(TextValueViewModel), typeof(TextValueView), new UIPropertyMetadata(null));
object IViewForViewModel.ViewModel {
get { return ViewModel; }
- set { ViewModel = (JsonValueViewModel) value; }
+ set { ViewModel = (TextValueViewModel) value; }
}
}
}
Please sign in to comment.
Something went wrong with that request. Please try again.