Пример #1
0
        public RegistrationBuilder(Type t) : this()
        {
            CheckTypeValidity(t);

            _category       = RegistrationCategory.Type;
            _registeredType = t;
        }
Пример #2
0
 public RegistrationBuilder(Func <IContainer, object> factoryMethod, Type t) : this(t)
 {
     _category = RegistrationCategory.FactoryMethod;
     _registeredFactoryMethod = factoryMethod;
 }