private void EmitError(Exception exception) { StrategyError error = new StrategyError(DateTime.Now, exception); if (this.Error == null) { return; } this.Error((object)this, new StrategyErrorEventArgs(error)); }
public StrategyErrorEventArgs(StrategyError error) { this.Error = error; }
private void EmitError(Exception exception) { StrategyError error = new StrategyError(DateTime.Now, exception); if (this.Error == null) return; this.Error((object) this, new StrategyErrorEventArgs(error)); }
public StrategyErrorEventArgs(StrategyError error) { this.Error = error; }