FrameSectionFluent
ConsoleMonster.Frames
The fluent methods of FrameSection, generated from its public properties: A property-named method sets a property and Add... adds to a collection, both returning the same instance.
Inheritance
- object
- FrameSectionFluent
Methods
public static FrameSection AddFact(FrameSection frameSection, string item) #Adds an item to FrameSection.Facts: Literal Muted facts after the title.
Parameters
- frameSection ConsoleMonster.Frames.FrameSection
- The instance.
- item string
- The item.
public static FrameSection AddFacts(FrameSection frameSection, params string[] items) #Adds items to FrameSection.Facts: Literal Muted facts after the title.
Parameters
- frameSection ConsoleMonster.Frames.FrameSection
- The instance.
- items string[]
- The items, in order.
public static FrameSection AddFacts(FrameSection frameSection, IEnumerable<string> items) #Adds items to FrameSection.Facts: Literal Muted facts after the title.
Parameters
- frameSection ConsoleMonster.Frames.FrameSection
- The instance.
- items System.Collections.Generic.IEnumerable<string>
- The items, in order.
public static FrameSection AddState(FrameSection frameSection, FrameState item) #Adds an item to FrameSection.States: The section's states at its right edge, worst first.
Parameters
- frameSection ConsoleMonster.Frames.FrameSection
- The instance.
- item ConsoleMonster.Frames.FrameState
- The item.
public static FrameSection AddStates(FrameSection frameSection, params FrameState[] items) #Adds items to FrameSection.States: The section's states at its right edge, worst first.
Parameters
- frameSection ConsoleMonster.Frames.FrameSection
- The instance.
- items ConsoleMonster.Frames.FrameState[]
- The items, in order.
public static FrameSection AddStates(FrameSection frameSection, IEnumerable<FrameState> items) #Adds items to FrameSection.States: The section's states at its right edge, worst first.
Parameters
- frameSection ConsoleMonster.Frames.FrameSection
- The instance.
- items System.Collections.Generic.IEnumerable<ConsoleMonster.Frames.FrameState>
- The items, in order.
public static FrameSection FullWidth(FrameSection frameSection, bool value) #Sets FrameSection.FullWidth: Whether the section always takes a row of its own.
Parameters
- frameSection ConsoleMonster.Frames.FrameSection
- The instance.
- value bool
- The value.
Examples
// C# initializer or property // C# fluent
frameSection.FullWidth = value; frameSection.FullWidth(value);public static FrameSection FullWidth(FrameSection frameSection) #Sets FrameSection.FullWidth to true.
Parameters
- frameSection ConsoleMonster.Frames.FrameSection
- The instance to configure.
public static FrameSection Grow(FrameSection frameSection, double value) #Sets FrameSection.Grow: Share of leftover row width; zero keeps the section at its natural width.
Parameters
- frameSection ConsoleMonster.Frames.FrameSection
- The instance.
- value double
- The value.
Examples
// C# initializer or property // C# fluent
frameSection.Grow = value; frameSection.Grow(value);public static FrameSection MaxWidth(FrameSection frameSection, int? value) #Sets FrameSection.MaxWidth: The widest the section may become, or null for no limit.
Parameters
- frameSection ConsoleMonster.Frames.FrameSection
- The instance.
- value int?
- The value.
Examples
// C# initializer or property // C# fluent
frameSection.MaxWidth = value; frameSection.MaxWidth(value);public static FrameSection Meta(FrameSection frameSection, string? value) #Sets FrameSection.Meta: Literal Muted meta at the right edge when there is no state (log axis).
Parameters
- frameSection ConsoleMonster.Frames.FrameSection
- The instance.
- value string?
- The value.
Examples
// C# initializer or property // C# fluent
frameSection.Meta = value; frameSection.Meta(value);public static FrameSection MinWidth(FrameSection frameSection, int? value) #Sets FrameSection.MinWidth: The narrowest useful width; null uses the content's natural width, so the section never shrinks below it.
Parameters
- frameSection ConsoleMonster.Frames.FrameSection
- The instance.
- value int?
- The value.
Examples
// C# initializer or property // C# fluent
frameSection.MinWidth = value; frameSection.MinWidth(value);public static FrameSection Placement(FrameSection frameSection, FramePlacement value) #Sets FrameSection.Placement: Summary or detail.
Parameters
- frameSection ConsoleMonster.Frames.FrameSection
- The instance.
- value ConsoleMonster.Frames.FramePlacement
- The value.
Examples
// C# initializer or property // C# fluent
frameSection.Placement = value; frameSection.Placement(value);