示例#1
0
 public void Unsubscribe(EventCommand subscriber)
 {
     _subscribers.Remove(subscriber);
 }
示例#2
0
 public void Subscribe(EventCommand subscriber)
 {
     _subscribers.Add(subscriber);
 }