Window CreateWindow(IGitHubDialogWindowViewModel dialogViewModel) { return(new ExternalGitHubDialogWindow(dialogViewModel) { Owner = ownerWindow }); }
public GitHubDialogWindow(IGitHubDialogWindowViewModel viewModel) { DataContext = viewModel; viewModel.Done.Subscribe(_ => Close()); InitializeComponent(); }