Ejemplo n.º 1
0
        public void Register(Type type)
        {
            ITagFactory factory = new GenericTagFactory(type);

            AddTag(factory.Name, factory);
        }
Ejemplo n.º 2
0
        public void Register <T>() where T : ITag, new()
        {
            ITagFactory factory = new GenericTagFactory <T>();

            AddTag(factory.Name, factory);
        }