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