public SelectGoogleDocument(Action <string, string, DialogIcon> showDialogAction, IGoogleDocumentsService documentsService) { this.Icon = PackageRes.ResxGenIcon.GetImageSource(); _showDialogAction = showDialogAction; _documentsService = documentsService; ViewModel = new DocumentsVm(); this.DataContext = ViewModel; InitializeComponent(); }
public SelectGoogleDocumentDialog(Action <string, string, DialogIcon> showDialogAction, IGoogleDocumentsService documentsService) { _window = new SelectGoogleDocument(showDialogAction, documentsService); }