예제 #1
0
            public TemporaryConfigurationLoader(AbstractConfigurationLoader loader, IEnumerable <AbstractSitecoreDataHandler> datas)
            {
                _loader = loader;
                //must push custom handlers to the top of the pile.
                datas.ForEach(x => _loader.AddDataHandler(x));

                this._dataHandlers = _loader.DataHandlers.ToList();
            }
예제 #2
0
 public Context(AbstractConfigurationLoader loader, IEnumerable <AbstractSitecoreDataHandler> datas) : this(new TemporaryConfigurationLoader(loader, datas))
 {
 }