当前位置: 首页>>代码示例>>C#>>正文


C# FubuRegistry.IncludeDiagnostics方法代码示例

本文整理汇总了C#中FubuMVC.Core.FubuRegistry.IncludeDiagnostics方法的典型用法代码示例。如果您正苦于以下问题:C# FubuRegistry.IncludeDiagnostics方法的具体用法?C# FubuRegistry.IncludeDiagnostics怎么用?C# FubuRegistry.IncludeDiagnostics使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在FubuMVC.Core.FubuRegistry的用法示例。


在下文中一共展示了FubuRegistry.IncludeDiagnostics方法的6个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C#代码示例。

示例1: configure

 protected override void configure(FubuRegistry registry)
 {
     registry.UseSpark();
     registry.Actions.IncludeType<ProfileController>();
     registry.Views.TryToAttachWithDefaultConventions();
     registry.Views.Profile<Mobile>("m.");
     registry.IncludeDiagnostics(true);
 }
开发者ID:roynmoore,项目名称:fubumvc,代码行数:8,代码来源:ProfiledAttachmentTester.cs

示例2: configure

        protected override void configure(FubuRegistry registry)
        {
            registry.Actions.IncludeType<HelloRazorController>();

            registry.IncludeDiagnostics(true);

            //registry.UseSpark();
            registry.UseRazor();

            registry.Views
                .TryToAttachWithDefaultConventions();
        }
开发者ID:rsanders1,项目名称:fubumvc,代码行数:12,代码来源:RazorEngineIntegrationTester.cs

示例3: configure

        protected override void configure(FubuRegistry registry)
        {
            registry.Actions.IncludeType<ClosestController>();
            registry.Actions.IncludeType<UsesDefaultController>();

            registry.IncludeDiagnostics(true);

            registry.Import<RazorEngineRegistry>();

            registry.Views
                .TryToAttachWithDefaultConventions();
        }
开发者ID:roynmoore,项目名称:fubumvc,代码行数:12,代码来源:RazorEngineMultipleLayoutsIntegrationTester.cs

示例4: BeforeEach

        public void BeforeEach()
        {
            _parent = new FubuRegistry();
            _parent.IncludeDiagnostics(true);

            _import = new FubuRegistry();
            _import.IncludeDiagnostics(true);
            _import.Actions
                .IncludeType<Handler1>()
                .IncludeType<Handler2>();

            _import.Configure(x =>
            {
                _importObserver = x.Observer;
                _importActions = x.Actions()
                    .Where(a => a.HandlerType.Namespace == GetType().Namespace);
            });

            _parent.Import(_import, "import");
            _parentObserver = _parent.BuildGraph().Observer;
        }
开发者ID:jemacom,项目名称:fubumvc,代码行数:21,代码来源:ObserverImporterTester.cs

示例5: configure

 protected override void configure(FubuRegistry registry)
 {
     registry.Import<SparkEngine>();
     registry.IncludeDiagnostics(true);
     registry.Actions.IncludeType<PartialController>();
     registry.Views.RegisterActionLessViews(v => v.ViewModel == typeof (PartialInput));
     registry.Views.RegisterActionLessViews(v => v.ViewModel == typeof (MoreInput));
     registry.Views.TryToAttachWithDefaultConventions();
 }
开发者ID:roynmoore,项目名称:fubumvc,代码行数:9,代码来源:PartialsWithSparkIntegrationTester.cs

示例6: BuildApplication

        public FubuApplication BuildApplication()
        {
            return FubuApplication.For(() =>
            {
                var registry = new FubuRegistry();
                registry.IncludeDiagnostics(true);
                _configuration(registry);

                return registry;
            }).StructureMap(new Container());
        }
开发者ID:roynmoore,项目名称:fubumvc,代码行数:11,代码来源:FubuRegistryRunner.cs


注:本文中的FubuMVC.Core.FubuRegistry.IncludeDiagnostics方法示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。