示例#1
0
        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);
        }
示例#2
0
 public void Remove(ActorInit o)
 {
     initDict.Value.Remove(o);
 }