/// <summary> /// Initializes a new instance of the <see cref="FacadeViewModel"/> class. /// </summary> public FacadeViewModel() { FacadeViewModel.GetInstance = this; }
/// <summary> /// Initializes a new instance of the MainViewModel class. /// </summary> public MainViewModel(FacadeViewModel FacadeViewModel) : base(FacadeViewModel) { SelectChangedMenuCommand = new RelayCommand <SelectionChangedEventArgs>((s) => SelectChangedMenuExecute(s)); Model = MainWindowModel.GetModel(); }
/// <summary> /// Views the model base. /// </summary> /// <param name="FacadeViewModel">The facade view model.</param> /// <returns></returns> public ViewModelBase(FacadeViewModel FacadeViewModel) { this.FacadeViewModel = FacadeViewModel; }