public void Configure(FubuRegistry registry)
        {
            registry.Policies.Add<HtmlConventionActivation>();
            registry.Services<UIServiceRegistry>();

            registry.ViewFacility(new HtmlDocumentViewFacility());
        }
Пример #2
0
        public void Configure(FubuRegistry registry)
        {
            registry.Policies.Add <HtmlConventionActivation>();
            registry.Services <UIServiceRegistry>();

            registry.ViewFacility(new HtmlDocumentViewFacility());
        }
Пример #3
0
        void IFubuRegistryExtension.Configure(FubuRegistry registry)
        {
            registry.ViewFacility(new RazorViewFacility(_templateRegistry, _parsings));
            registry.Services(configureServices);

            registry.AlterSettings <CommonViewNamespaces>(x =>
            {
                x.AddForType <RazorViewFacility>(); // FubuMVC.Razor
                x.AddForType <IPartialInvoker>();   // FubuMVC.Core.UI
            });
        }
Пример #4
0
 void IFubuRegistryExtension.Configure(FubuRegistry registry)
 {
     registry.ViewFacility(new RazorViewFacility(_templateRegistry, _parsings));
     registry.Services(configureServices);
 }
        public void Configure(FubuRegistry registry)
        {
            registry.Services<UIServiceRegistry>();

            registry.ViewFacility(new HtmlDocumentViewFacility());
        }