Beispiel #1
0
 protected void EmitStopAdded(StopBase stop)
 {
     if (this.StopAdded != null)
     {
         this.StopAdded(new StopEventArgs(stop));
     }
 }
Beispiel #2
0
 internal virtual void AddStop(StopBase stop)
 {
     this.stops.Add(stop);
     this.activeStops[stop.Instrument].Add(stop);
     if (this.StopAdded != null)
     {
         this.StopAdded(new StopEventArgs(stop));
     }
 }
Beispiel #3
0
 internal void EmitStopStatusChanged(StopBase stop)
 {
     if (stop.Status != StopStatus.Active)
     {
         this.activeStops[stop.Instrument].Remove(stop);
     }
     if (this.StopStatusChanged != null)
     {
         this.StopStatusChanged(new StopEventArgs(stop));
     }
 }