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(); }
public Context(AbstractConfigurationLoader loader, IEnumerable <AbstractSitecoreDataHandler> datas) : this(new TemporaryConfigurationLoader(loader, datas)) { }