Exemple #1
0
 public void RemoveEventDef(EventDef ed)
 {
     if (!EventDefs.Remove(ed))
     {
         throw new ApplicationException($"Could not remove EventDef: {ed}");
     }
 }
Exemple #2
0
 public void RemoveEventDef(EventDef ed)
 {
     if (!EventDefs.Remove(ed))
     {
         throw new ApplicationException(string.Format("Could not remove EventDef: {0}", ed));
     }
 }