Exemple #1
0
 private async Task NewProject(ProjectWizardViewModel project)
 {
     if (project == null)
     {
         CloseDialogCommand.Execute(null);
         return;
     }
     CloseModalCommand.Execute(null);
     await Task.Run(() => NewProjectTask(project)).ContinueWith((result) =>
     {
     });
 }
Exemple #2
0
 public void Close(object result)
 {
     CloseDialogCommand?.Execute(result, this);
 }
Exemple #3
0
 public void Close()
 {
     CloseDialogCommand?.Execute(DialogCanceled.Default, this);
 }