Exemplo n.º 1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="FacadeViewModel"/> class.
 /// </summary>
 public FacadeViewModel()
 {
     FacadeViewModel.GetInstance = this;
 }
Exemplo n.º 2
0
        /// <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();
        }
Exemplo n.º 3
0
 /// <summary>
 /// Views the model base.
 /// </summary>
 /// <param name="FacadeViewModel">The facade view model.</param>
 /// <returns></returns>
 public ViewModelBase(FacadeViewModel FacadeViewModel)
 {
     this.FacadeViewModel = FacadeViewModel;
 }