/// <summary> /// Initializes a new instance of the <see cref="MainWindowViewModel"/> class. /// </summary> public MainWindowViewModel() { // Initally show the login view. this.content = new LoginViewModel(); }
public MainWindowViewModel() { this._content = new StreamingDataViewModel(new DataFeed()); }
/// <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; }