Exemplo n.º 1
0
        public OptionsCollector(Action <ICustomizeFactoryOptions <T> > customize)
        {
            _customize = customize;

            _options = new ObjectFactoryOptions <T>();
            _customizationOptions = new CustomizeFactoryOptions <T>(_options);
            LoadStaticCustomizationInto(_customizationOptions);
        }
Exemplo n.º 2
0
 public CustomizeFactoryOptions(ObjectFactoryOptions <T> objectFactoryOptions)
 {
     _objectFactoryOptions = objectFactoryOptions;
 }