AttentionListFluent
ConsoleMonster.Frames
The fluent methods of AttentionList, 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
- AttentionListFluent
Methods
public static AttentionList AddItem(AttentionList attentionList, AttentionItem item) #Adds an item to AttentionList.Items: The items, in any order.
Parameters
- attentionList ConsoleMonster.Frames.AttentionList
- The instance.
- item ConsoleMonster.Frames.AttentionItem
- The item.
public static AttentionList AddItems(AttentionList attentionList, params AttentionItem[] items) #Adds items to AttentionList.Items: The items, in any order.
Parameters
- attentionList ConsoleMonster.Frames.AttentionList
- The instance.
- items ConsoleMonster.Frames.AttentionItem[]
- The items, in order.
public static AttentionList AddItems(AttentionList attentionList, IEnumerable<AttentionItem> items) #Adds items to AttentionList.Items: The items, in any order.
Parameters
- attentionList ConsoleMonster.Frames.AttentionList
- The instance.
- items System.Collections.Generic.IEnumerable<ConsoleMonster.Frames.AttentionItem>
- The items, in order.
public static AttentionList GroupAtLeast(AttentionList attentionList, int value) #Sets AttentionList.GroupAtLeast: Identical state and reason for this many items or more become one grouped item (default 3).
Parameters
- attentionList ConsoleMonster.Frames.AttentionList
- The instance.
- value int
- The value.
Examples
// C# initializer or property // C# fluent
new global::ConsoleMonster.Frames.AttentionList { GroupAtLeast = value }; attentionList.GroupAtLeast(value);public static AttentionList Noun(AttentionList attentionList, string value) #Sets AttentionList.Noun: The singular noun for the items, for example partnership.
Parameters
- attentionList ConsoleMonster.Frames.AttentionList
- The instance.
- value string
- The value.
Examples
// C# initializer or property // C# fluent
new global::ConsoleMonster.Frames.AttentionList { Noun = value }; attentionList.Noun(value);public static AttentionList OutOf(AttentionList attentionList, long? value) #Sets AttentionList.OutOf: The total the items come from, for 3 of 12 partnerships; null shows only the item count.
Parameters
- attentionList ConsoleMonster.Frames.AttentionList
- The instance.
- value long?
- The value.
Examples
// C# initializer or property // C# fluent
new global::ConsoleMonster.Frames.AttentionList { OutOf = value }; attentionList.OutOf(value);public static AttentionList PluralNoun(AttentionList attentionList, string? value) #Sets AttentionList.PluralNoun: The plural noun; null adds an s.
Parameters
- attentionList ConsoleMonster.Frames.AttentionList
- The instance.
- value string?
- The value.
Examples
// C# initializer or property // C# fluent
new global::ConsoleMonster.Frames.AttentionList { PluralNoun = value }; attentionList.PluralNoun(value);public static AttentionList Title(AttentionList attentionList, string value) #Sets AttentionList.Title: The section title.
Parameters
- attentionList ConsoleMonster.Frames.AttentionList
- The instance.
- value string
- The value.
Examples
// C# initializer or property // C# fluent
new global::ConsoleMonster.Frames.AttentionList { Title = value }; attentionList.Title(value);