public CodeEditorServiceBuilder WithDialogReault(CommonDialogResult result) { _windowMock.Setup(w => w.Execute()).Returns(result); return(this); }
private static extern int GetResult(int type, int handle, out CommonDialogResult commonDialogResult, out PhotoImportDialog.DialogResults dialogResults);
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; }