public void Cancel() { if (_obj != null) { _obj.Cancel(); } else { ExcelAdoMdConnections.VoidDelegate f = delegate { _objExcel.Cancel(); }; f(); } }
public void Cancel() { if (_command != null) { _command.Cancel(); } else { void f() { _objExcel.Cancel(); } f(); } }