Пример #1
0
        Registration IObjectFactoryRegistry.RegisterType(Type from, Type to, string name)
        {
            var registration = new Registration(from, to, name);

            _typeCache.Add(registration);
            return(registration);
        }