本文整理汇总了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);
}
}
示例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);
}
示例3: Describe
public void Describe(Description description)
{
description.Title = "Create Packages for " + _solution.Name;
description.ShortDescription = "Version " + _version;
description.AddList("Nuspecs", _plans);
}
示例4: Describe
public void Describe(Description description)
{
description.ShortDescription = "Problems were found for " + _solution.Name;
var list = description.AddList("Problems", _problems);
list.Label = "Problems";
}
示例5: Describe
public void Describe(Description description)
{
description.Title = Spec.Name;
description.ShortDescription = "Version " + _version;
description.AddList("Dependencies", _dependencies);
}
示例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);
}
}
示例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";
}
示例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";
}
示例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;
}
}
示例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;
}
}
示例11: Describe
public void Describe(Description description)
{
var list = description.AddList("ValidationSteps", _steps);
list.Label = "Validation Steps";
list.IsOrderDependent = true;
}
示例12: Describe
public void Describe(Description description)
{
description.Title = "Publish Report";
description.ShortDescription = "";
description.AddList("Details", _items);
}
示例13: Describe
public void Describe(Description description)
{
description.Title = Type + " projects";
description.ShortDescription = "Project templating options";
description.AddList("Project Types", Templates);
}
示例14: Describe
public void Describe(Description description)
{
var list = description.AddList("ConversionFamilies", _converters.AllConverterFamilies());
list.IsOrderDependent = true;
list.Label = "Conversion Families";
}
示例15: Describe
public void Describe(Description description)
{
description.Title = "View Attachment Log";
description.AddList("Filters", _logs);
}