Beispiel #1
0
 public ObjectStorageViewModel()
 {
     SaveCommand       = new RelayParameterizedCommand(async(parameter) => await SaveAsync(parameter));
     PageLoadedCommand = new RelayCommand(async() => await PageLoadedAsync());
 }
Beispiel #2
0
 public MessageBoxDialogConfirmViewModel()
 {
     ConfirmYesCommand = new RelayParameterizedCommand((parameter) => ConfirmYes(parameter));
 }
Beispiel #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());
 }