public LinkFixupScheduledAction(IItemFinder finder, IPersister persister, IHost host, IFileSystem fs, IEngine engine)
 {
     _finder    = finder;
     _persister = persister;
     _host      = host;
     _fs        = fs;
     _rpp       = engine.Resolve <RequestPathProvider>();
 }
Пример #2
0
        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())
            });
        }
Пример #3
0
        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);
        }
Пример #4
0
        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())
            });
        }
Пример #6
0
 void ReCreateDispatcherWithConfig(HostSection config)
 {
     dispatcher = new RequestPathProvider(webContext, parser, errorHandler, config);
     handler    = new FakeRequestLifeCycleHandler(webContext, null, dispatcher, adapterProvider, errorHandler, editUrlManager, new EditSection(), config);
 }
Пример #7
0
 public FakeRequestLifeCycleHandler(IWebContext webContext, RequestPathProvider dispatcher, IContentAdapterProvider adapters, IErrorNotifier errors, ConfigurationManagerWrapper configuration)
     : base(webContext, EventBroker.Instance, dispatcher, adapters, errors, configuration)
 {
     initialized = true;
 }
Пример #8
0
 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;
 }