Exemple #1
0
 public ObjectStorageViewModel()
 {
     SaveCommand       = new RelayParameterizedCommand(async(parameter) => await SaveAsync(parameter));
     PageLoadedCommand = new RelayCommand(async() => await PageLoadedAsync());
 }
Exemple #2
0
 public MessageBoxDialogConfirmViewModel()
 {
     ConfirmYesCommand = new RelayParameterizedCommand((parameter) => ConfirmYes(parameter));
 }
Exemple #3
0
 public InitScriptViewModel()
 {
     UploadCommand     = new RelayParameterizedCommand(async(parameter) => await UploadAsync(parameter));
     VerifyCommand     = new RelayParameterizedCommand(async(parameter) => await VerifyAsync(parameter));
     PageLoadedCommand = new RelayCommand(async() => await PageLoadedAsync());
 }