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


C# Description.AddList方法代码示例

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


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

示例1: Describe

        public void Describe(Description description)
        {
            description.Title = "Missing Nugets";
            description.ShortDescription = "Could not find nugets";
            description.AddList("Nugets", _nugets);

            if (_problems.Any())
            {
                description.AddList("Problems", _problems);
            }
        }
开发者ID:modulexcite,项目名称:ripple,代码行数:11,代码来源:MissingNugetReport.cs

示例2: Describe

 public void Describe(Description description)
 {
     description.ShortDescription = "Governs the behavior and verbosity of the runtime diagnostics";
     description.Properties["Tracing Level"] = TraceLevel.ToString();
     description.Properties["Maximum Number of Requests to Keep"] = MaxRequests.ToString();
     description.AddList("Authorization Rules for Diagnostics", AuthorizationRights);
 }
开发者ID:jbogard,项目名称:fubumvc,代码行数:7,代码来源:DiagnosticsSettings.cs

示例3: Describe

        public void Describe(Description description)
        {
            description.Title = "Create Packages for " + _solution.Name;
            description.ShortDescription = "Version " + _version;

            description.AddList("Nuspecs", _plans);
        }
开发者ID:modulexcite,项目名称:ripple,代码行数:7,代码来源:NuspecGenerationPlan.cs

示例4: Describe

        public void Describe(Description description)
        {
            description.ShortDescription = "Problems were found for " + _solution.Name;

            var list = description.AddList("Problems", _problems);
            list.Label = "Problems";
        }
开发者ID:bobpace,项目名称:ripple,代码行数:7,代码来源:RippleException.cs

示例5: Describe

        public void Describe(Description description)
        {
            description.Title = Spec.Name;
            description.ShortDescription = "Version " + _version;

            description.AddList("Dependencies", _dependencies);
        }
开发者ID:modulexcite,项目名称:ripple,代码行数:7,代码来源:NuspecPlan.cs

示例6:

        void DescribesItself.Describe(Description _)
        {
            _.Title = "Content Negotiation Rules and Configuration";

            if (Formatters.Any())
            {
                _.AddList("Formatters", Formatters);
            }

            _.AddList("Rules", Rules);
            _.AddList("Conneg Querystring Rules", QuerystringParameters);

            if (Corrections.Any())
            {
                _.AddList("Mimetype Corrections", Corrections);
            }
        }
开发者ID:kingreatwill,项目名称:fubumvc,代码行数:17,代码来源:ConnegSettings.cs

示例7: Describe

        public void Describe(Description description)
        {
            description.Title = "Dependency Validation";

            if (IsValid())
            {
                description.ShortDescription = "No problems detected";
                return;
            }

            description.ShortDescription = "Problems were detected";

            var list = description.AddList("Problems", _problems);
            list.Label = "Problems";
        }
开发者ID:modulexcite,项目名称:ripple,代码行数:15,代码来源:DependencyValidationResult.cs

示例8: Describe

        public void Describe(Description description)
        {
            description.Title = _solution.Name;

            if (IsValid())
            {
                description.ShortDescription = "No problems found";
                return;
            }

            description.ShortDescription = "Problems were found for " + _solution.Name;

            var list = description.AddList("Problems", _problems);
            list.Label = "Problems";
        }
开发者ID:modulexcite,项目名称:ripple,代码行数:15,代码来源:ValidationResult.cs

示例9: Describe

        public void Describe(Description description)
        {
            description.Title = _conditions.Any() 
                ? _conditions.Select(x => Description.For(x).Title).Join(" and ") 
                : "Always";

            if (_sources.Count > 1)
            {
                description.AddList("Continuations", _sources);
            }
            else if (_sources.Count == 1)
            {
                description.ShortDescription = Description.For(_sources.Single()).ShortDescription;
            }
        }
开发者ID:kingreatwill,项目名称:fubumvc,代码行数:15,代码来源:ErrorHandler.cs

示例10: Describe

        public void Describe(Description description)
        {
            description.Title = _conditions.Any()
                ? _conditions.Select(x => Description.For(x).Title).Join(" and ")
                : "Always";

            var continuation = Continuation();

            if (continuation is CompositeContinuation)
            {
                description.AddList("Continuations", continuation.As<CompositeContinuation>());
            }
            else
            {
                description.ShortDescription = Description.For(continuation).ShortDescription;
            }
        }
开发者ID:JonatanKappsDotNet,项目名称:fubumvc,代码行数:17,代码来源:ErrorHandler.cs

示例11: Describe

 public void Describe(Description description)
 {
     var list = description.AddList("ValidationSteps", _steps);
     list.Label = "Validation Steps";
     list.IsOrderDependent = true;
 }
开发者ID:thunklife,项目名称:fubuvalidation,代码行数:6,代码来源:ValidationPlan.cs

示例12: Describe

        public void Describe(Description description)
        {
            description.Title = "Publish Report";
            description.ShortDescription = "";

            description.AddList("Details", _items);
        }
开发者ID:modulexcite,项目名称:ripple,代码行数:7,代码来源:PublishReport.cs

示例13: Describe

 public void Describe(Description description)
 {
     description.Title = Type + " projects";
     description.ShortDescription = "Project templating options";
     description.AddList("Project Types", Templates);
 }
开发者ID:awelburn,项目名称:FubuCsProjFile,代码行数:6,代码来源:ProjectCategory.cs

示例14: Describe

 public void Describe(Description description)
 {
     var list = description.AddList("ConversionFamilies", _converters.AllConverterFamilies());
     list.IsOrderDependent = true;
     list.Label = "Conversion Families";
 }
开发者ID:hartez,项目名称:fubucore,代码行数:6,代码来源:ConversionPropertyBinder.cs

示例15: Describe

 public void Describe(Description description)
 {
     description.Title = "View Attachment Log";
     description.AddList("Filters", _logs);
 }
开发者ID:hartez,项目名称:FubuMVC.ViewEngines,代码行数:5,代码来源:ViewAttachmentLog.cs


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