本文整理汇总了C#中FubuCore.Descriptions.Description.AddChild方法的典型用法代码示例。如果您正苦于以下问题:C# Description.AddChild方法的具体用法?C# Description.AddChild怎么用?C# Description.AddChild使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类FubuCore.Descriptions.Description
的用法示例。
在下文中一共展示了Description.AddChild方法的6个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C#代码示例。
示例1: Describe
public void Describe(Description description)
{
description.Title = "The described parent";
description.Properties["Color"] = "Orange";
description.Properties["Direction"] = "North";
description.Properties["Name"] = "Max";
description.AddChild("Child1 Something", new DescribedChild());
description.AddChild("Child2 else", new DescribedChild());
description.AddChild("Child3", new DescribedChild());
}
示例2: Describe
public void Describe(Description description)
{
description.Title = "Stateful Saga Node";
description.ShortDescription = "Applies saga state loading and persistence within this chain";
description.Properties["State Type"] = StateType.FullName;
description.Properties["Message Type"] = MessageType.FullName;
description.AddChild("Repository", Repository);
}
示例3: Describe
public void Describe(Description description)
{
description.Title = _package.Id;
description.ShortDescription = _exception.Message;
description.AddChild("Stacktrace", _exception.StackTrace);
}
示例4: Describe
public void Describe(Description description)
{
description.Title = "Chain Filter Added";
description.AddChild("Filter", _filter);
}
示例5: Describe
public void Describe(Description description)
{
description.ShortDescription = "Assembly: " + _assembly.GetName().Name;
description.Properties["Assembly"] = _assembly.GetName().FullName;
description.AddChild("Inner", _inner.Value);
}
示例6: Describe
public void Describe(Description description)
{
description.Title = "ActionSource";
description.AddChild("Source", _source);
}