Show / Hide Table of Contents

Class InfoBuilder

Inheritance
System.Object
InfoBuilder
Namespace: Eco.Shared.Text
Assembly: Eco.Shared.dll
Syntax
public class InfoBuilder : Object

Constructors

InfoBuilder()

Declaration
public InfoBuilder()

Properties

IsEmpty

Declaration
public bool IsEmpty { get; }
Property Value
Type Description
System.Boolean

Methods

AddDashSectionLocStr(String, InfoBuilder)

Adds '- ' to section tittle. See AddSection(LocString, InfoBuilder).

Declaration
public InfoBuilder AddDashSectionLocStr(string sectionTitle, InfoBuilder section)
Parameters
Type Name Description
System.String sectionTitle
InfoBuilder section
Returns
Type Description
InfoBuilder

AddSection(LocString, InfoBuilder)

Add a section.

Declaration
public InfoBuilder AddSection(LocString sectionTitle, InfoBuilder section)
Parameters
Type Name Description
LocString sectionTitle
InfoBuilder section
Returns
Type Description
InfoBuilder

AddSectionLoc(FormattableString, InfoBuilder)

See AddSection(LocString, InfoBuilder).

Declaration
public InfoBuilder AddSectionLoc(FormattableString sectionTitle, InfoBuilder section)
Parameters
Type Name Description
System.FormattableString sectionTitle
InfoBuilder section
Returns
Type Description
InfoBuilder

AddSectionLocStr(String, InfoBuilder)

See AddSection(LocString, InfoBuilder).

Declaration
public InfoBuilder AddSectionLocStr(string sectionTitle, InfoBuilder section)
Parameters
Type Name Description
System.String sectionTitle
InfoBuilder section
Returns
Type Description
InfoBuilder

AppendDashLineLoc(FormattableString)

Adds '- ' to line. See AppendLine(LocString).

Declaration
public InfoBuilder AppendDashLineLoc(FormattableString line)
Parameters
Type Name Description
System.FormattableString line
Returns
Type Description
InfoBuilder

AppendDashLineLocStr(String)

Adds '- ' to line, See AppendLine(LocString).

Declaration
public InfoBuilder AppendDashLineLocStr(string line)
Parameters
Type Name Description
System.String line
Returns
Type Description
InfoBuilder

AppendLine()

Appends new line to InfoBuilder.

Declaration
public InfoBuilder AppendLine()
Returns
Type Description
InfoBuilder

AppendLine(LocString)

Appends LocString with new line to InfoBuilder.

Declaration
public InfoBuilder AppendLine(LocString line)
Parameters
Type Name Description
LocString line
Returns
Type Description
InfoBuilder

AppendLineLoc(FormattableString)

See AppendLine(LocString).

Declaration
public InfoBuilder AppendLineLoc(FormattableString line)
Parameters
Type Name Description
System.FormattableString line
Returns
Type Description
InfoBuilder

AppendLineLocStr(String)

See AppendLine(LocString).

Declaration
public InfoBuilder AppendLineLocStr(string line)
Parameters
Type Name Description
System.String line
Returns
Type Description
InfoBuilder

Clear()

Declaration
public void Clear()

ToLocString()

Declaration
public LocString ToLocString()
Returns
Type Description
LocString

ToString()

Declaration
public override string ToString()
Returns
Type Description
System.String

Extension Methods

CommandLine.FeedFromCommandLine(Object)
CommandLine.ToCommandLineArgs(Object, Func<Object, Boolean>)
ListUtil.DepthFirstTraversal<T>(T, Func<T, IEnumerable<T>>)
EnumerableExtensions.SingleItemAsEnumerable<T>(T)
EventUtils.RaiseEvent<TEventArgs>(Object, String, TEventArgs)
PredicateUtils.MatchesAll<TEnumerable, T>(T, TEnumerable)
PredicateUtils.MatchesAll<T>(T, Func<T, Boolean>[])
PredicateUtils.MatchesAny<TEnumerable, T>(T, TEnumerable)
ReflectionUtils.PropertyValue<T>(Object, PropertyInfo)
ReflectionUtils.TryGetPropertyValueByName<T>(Object, String, out T)
ReflectionUtils.GetPropertyValueByName<T>(Object, String)
ReflectionUtils.SetPropertyByName(Object, String, Object)
ReflectionUtils.GetStructPropertyByName<T>(Object, String)
ReflectionUtils.GetStringPropertyByName(Object, String)
ReflectionUtils.ZipByProperty<T>(Object, Object, Object, Func<T, T, T>)
☀
☾
In This Article
Back to top
Copyright (c) Strange Loop Games 2021
☀
☾