コード例 #1
0
 public DashboardViewModel(IDashboardModel model)
 {
     this.model = model;
     model.PropertyChanged += delegate (object sender, PropertyChangedEventArgs e)
     {
         NotifyPropertyChanged("Vm" + e.PropertyName);
     };
 }
コード例 #2
0
        public DashboardViewModel(IDashboardModel dashboardModel)
        {
            _dashboardModel = dashboardModel;

            WorkItemsButtonCommand = new RelayCommand(OnWorkItemsButtonCommand);
        }