public ExampleDocumentMessagesViewModel(ViewModelContext viewModelContext) : base(viewModelContext) { ShowMessageCommand = new ViewModelCommand(ShowMessage); ClearMessagesCommand = new ViewModelCommand(ClearMessages); ShowMessageBoxCommand = new ViewModelCommand(OpenMessageBox); ThrowExceptionCommand = new ViewModelCommand(ThrowException); }
public ExampleDocumentNavigationViewModel(ViewModelContext viewModelContext) : base(viewModelContext) { OpenDocumentCommand = new ViewModelCommand(OpenDocument); GetDocumentsCommand = new ViewModelCommand(GetDocuments); OpenWindowCommand = new ViewModelCommand(OpenWindow); OpenDocuments = new ObservableCollection<ViewModelBase>(); }
public CustomerRemediationViewModel(ViewModelContext viewModelContext, RemediationService remediationService) : base(viewModelContext) { this.remediationService = remediationService; CompleteCommand = new ViewModelCommand(Complete); FailCommand = new ViewModelCommand(Fail); Products = new List<string>() {"Cap", "Collar", "Structured Collar"}; }
public ConfigurationAuthorisationViewModel(ViewModelContext viewModelContext, AuthorisationManagerServiceManager authorisationManagerServiceManager) : base(viewModelContext) { this.authorisationManagerServiceManager = authorisationManagerServiceManager; NewUserCommand = new WpfCommand(OnNewUser); NewRoleCommand = new WpfCommand(OnNewRole); NewActivityCommand = new WpfCommand(OnNewActivity); SaveCommand = new WpfCommand(OnEntitySave); DeleteCommand = new WpfCommand(OnEntityDelete); RemoveItemCommand = new WpfCommand(OnRemoveItem); SelectItemCommand = new WpfCommand(OnSelectItem); DragDropCommand = new WpfCommand(OnDragDrop); Logger.Log("ConfigurationAuthorisationViewModel initialised", Category.Info, Priority.None); }
public ExampleDocumentViewModel(ViewModelContext viewModelContext) : base(viewModelContext) { ResetStatusCommand = new ViewModelCommand(ResetDocumentStatus); }
public NewDocumentViewModel(ViewModelContext viewModelContext) : base(viewModelContext) { }
public ConfigurationAuthorisationViewModel(ViewModelContext viewModelContext) : base(viewModelContext) { }