protected virtual void OnRaiseFail(ScannerEventArgs e) { var handler = OnFail; if (handler != null) { handler(this, e); } }
protected virtual void OnRaiseStart(ScannerEventArgs e) { var handler = OnStart; if (handler != null) { handler(this, e); } }