public LinkFixupScheduledAction(IItemFinder finder, IPersister persister, IHost host, IFileSystem fs, IEngine engine) { _finder = finder; _persister = persister; _host = host; _fs = fs; _rpp = engine.Resolve <RequestPathProvider>(); }
void ReCreateDispatcherWithConfig(HostSection config) { dispatcher = new RequestPathProvider(webContext, parser, errorHandler, config); handler = new FakeRequestLifeCycleHandler(webContext, dispatcher, adapterProvider, errorHandler, new ConfigurationManagerWrapper { Sections = new ConfigurationManagerWrapper.ContentSectionTable(config, null, null, new EditSection()) }); }
public override void SetUp() { base.SetUp(); ContentAdapterProvider provider = new ContentAdapterProvider(new ContentEngine(new MediumTrustServiceContainer(), EventBroker.Instance, new ContainerConfigurer()), new AppDomainTypeFinder()); provider.Start(); dispatcher = new RequestPathProvider(webContext, parser, new FakeErrorHandler(), hostSection); }
public override void SetUp() { base.SetUp(); ContentAdapterProvider provider = new ContentAdapterProvider(new ContentEngine(), new AppDomainTypeFinder()); provider.Start(); dispatcher = new RequestPathProvider(webContext, parser, new FakeErrorHandler(), hostSection); }
void ReCreateDispatcherWithConfig(HostSection config) { IPersister persister = null; dispatcher = new RequestPathProvider(webContext, parser, errorHandler, config, TestSupport.CreateDraftRepository(ref persister)); handler = new FakeRequestLifeCycleHandler(webContext, dispatcher, adapterProvider, errorHandler, new ConfigurationManagerWrapper { Sections = new ConfigurationManagerWrapper.ContentSectionTable(config, null, null, new EditSection()) }); }
void ReCreateDispatcherWithConfig(HostSection config) { dispatcher = new RequestPathProvider(webContext, parser, errorHandler, config); handler = new FakeRequestLifeCycleHandler(webContext, null, dispatcher, adapterProvider, errorHandler, editUrlManager, new EditSection(), config); }
public FakeRequestLifeCycleHandler(IWebContext webContext, RequestPathProvider dispatcher, IContentAdapterProvider adapters, IErrorNotifier errors, ConfigurationManagerWrapper configuration) : base(webContext, EventBroker.Instance, dispatcher, adapters, errors, configuration) { initialized = true; }
public FakeRequestLifeCycleHandler(IWebContext webContext, InstallationManager installer, RequestPathProvider dispatcher, IContentAdapterProvider adapters, IErrorHandler errors, IEditUrlManager editUrlManager, EditSection editConfig, HostSection hostConfig) : base(webContext, EventBroker.Instance, installer, dispatcher, adapters, errors, editUrlManager, editConfig, hostConfig) { initialized = true; }