예제 #1
0
 public void RemoveEventDef(EventDef ed)
 {
     if (!EventDefs.Remove(ed))
     {
         throw new ApplicationException($"Could not remove EventDef: {ed}");
     }
 }
예제 #2
0
 public void RemoveEventDef(EventDef ed)
 {
     if (!EventDefs.Remove(ed))
     {
         throw new ApplicationException(string.Format("Could not remove EventDef: {0}", ed));
     }
 }
예제 #3
0
 public BucketGenerator(CarbonClient cc_, EventDefs eventDefCollections)
 {
     this.eventDefCollections = eventDefCollections;
 }
예제 #4
0
 public BucketGenerator(CarbonClient cc_)
 {
     eventDefCollections = Singleton<EventDefs>.Instance;
 }