Exemple #1
0
        public OptionsCollector(Action <ICustomizeFactoryOptions <T> > customize)
        {
            _customize = customize;

            _options = new ObjectFactoryOptions <T>();
            _customizationOptions = new CustomizeFactoryOptions <T>(_options);
            LoadStaticCustomizationInto(_customizationOptions);
        }
Exemple #2
0
 public CustomizeFactoryOptions(ObjectFactoryOptions <T> objectFactoryOptions)
 {
     _objectFactoryOptions = objectFactoryOptions;
 }