상속: INotifyPropertyChanged
 /// <summary>
 /// Initializes a new instance of the <see cref="MainWindowViewModel"/> class.
 /// </summary>
 public MainWindowViewModel()
 {
     // Initally show the login view.
     this.content = new LoginViewModel();
 }
예제 #2
0
 public MainWindowViewModel()
 {
     this._content = new StreamingDataViewModel(new DataFeed());
 }
예제 #3
0
 /// <summary>
 /// RaisePropertyChanged is a helper method intended for test / mock
 /// scenarios to manually fake a property change.
 /// </summary>
 /// <param name="target">The ReactiveObject to invoke
 /// raisePropertyChanging on.</param>
 /// <param name="property">The property that will be faking a change.</param>
 public static void RaisePropertyChanged(ReactiveObject target, string property)
 {
     target.raisePropertyChanged(property);
 }
 public RxUiHostViewModel(ReactiveObject content)
 {
     _content = content;
 }