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