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)); } }