public void registerCreator(Type type, creator.ICanCreate creator, bool replace) { if (!this.isCreating(type) || replace) { this.creators[type] = creator; } }
public void registerCreator(Type type, creator.ICanCreate creator) { this.creators[type] = creator; }