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;
 }