示例#1
0
 protected Invoker(EventListBase <T> eventList)
 {
     if (eventList.invoker == null)
     {
         this.eventList = eventList;
     }
     else
     {
         throw new Exception($"Cannot create two invoker for one {nameof(EventListBase<T>)}");
     }
 }
示例#2
0
 public Invoker(EventListBase <Action> eventList) : base(eventList)
 {
 }