public CodeEditorServiceBuilder WithDialogReault(CommonDialogResult result)
 {
     _windowMock.Setup(w => w.Execute()).Returns(result);
     return(this);
 }
示例#2
0
 private static extern int GetResult(int type, int handle, out CommonDialogResult commonDialogResult, out PhotoImportDialog.DialogResults dialogResults);
示例#3
0
 private static extern int GetResult(int type, int handle, out CommonDialogResult result, ref InAppPurchaseDialog.CommandResults results);
 public CodeEditorServiceBuilder WithDialogReault(CommonDialogResult result)
 {
     _windowMock.Setup(w => w.Execute()).Returns(result);
     return this;
 }