Пример #1
0
 public override void Unsubscribe(Instrument instrument)
 {
     if (subscribbed.Contains(instrument))
     {
         subscribbed.Remove(instrument);
     }
 }
 void Delete()
 {
     if (CurrentInstrument != null && InstrumentList.Contains(CurrentInstrument))
     {
         InstrumentList.Remove(CurrentInstrument);
     }
 }