public void Add(ActorInit init) { if (init is ISingleInstanceInit && InitDict.Contains(init.GetType())) { throw new InvalidDataException("Duplicate initializer '{0}'".F(init.GetType().Name)); } InitDict.Add(init); }
public void Remove(ActorInit o) { initDict.Value.Remove(o); }