Exemple #1
0
        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;
		}
Exemple #3
0
 private void EmitError(Exception exception)
 {
         StrategyError error = new StrategyError(DateTime.Now, exception);
   if (this.Error == null)
     return;
   this.Error((object) this, new StrategyErrorEventArgs(error));
 }
Exemple #4
0
 public StrategyErrorEventArgs(StrategyError error)
 {
     this.Error = error;
 }