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