Skip to content
ConsoleMonster

API Reference

Class

HelpTopicFluent

Namespace ConsoleMonster.Help
Assembly ConsoleMonster
Modifiers static
Attributes
GeneratedCode("ConsoleMonster.Generators", "1.0.0")

The fluent methods of HelpTopic, generated from its public properties: With... sets a property and Add... adds to a collection, both returning the same instance.

Inheritance

  • Object
  • HelpTopicFluent

Methods

AddDescription 3 overloads
public static HelpTopic AddDescription(HelpTopic helpTopic, String item) #
Returns: HelpTopic

Adds an item to HelpTopic.Description: The description paragraphs.

Parameters

helpTopic ConsoleMonster.Help.HelpTopic requiredposition: 0
The instance.
item System.String requiredposition: 1
The item.

Returns

The same instance.

public static HelpTopic AddDescription(HelpTopic helpTopic, params String[] items) #
Returns: HelpTopic

Adds items to HelpTopic.Description: The description paragraphs.

Parameters

helpTopic ConsoleMonster.Help.HelpTopic requiredposition: 0
The instance.
items System.String[] requiredposition: 1
The items, in order.

Returns

The same instance.

public static HelpTopic AddDescription(HelpTopic helpTopic, IEnumerable<String> items) #
Returns: HelpTopic

Adds items to HelpTopic.Description: The description paragraphs.

Parameters

helpTopic ConsoleMonster.Help.HelpTopic requiredposition: 0
The instance.
items System.Collections.Generic.IEnumerable<System.String> requiredposition: 1
The items, in order.

Returns

The same instance.

public static HelpTopic AddExample(HelpTopic helpTopic, HelpExample item) #
Returns: HelpTopic

Adds an item to HelpTopic.Examples: The examples.

Parameters

helpTopic ConsoleMonster.Help.HelpTopic requiredposition: 0
The instance.
item ConsoleMonster.Help.HelpExample requiredposition: 1
The item.

Returns

The same instance.

AddExamples 2 overloads
public static HelpTopic AddExamples(HelpTopic helpTopic, params HelpExample[] items) #
Returns: HelpTopic

Adds items to HelpTopic.Examples: The examples.

Parameters

helpTopic ConsoleMonster.Help.HelpTopic requiredposition: 0
The instance.
items ConsoleMonster.Help.HelpExample[] requiredposition: 1
The items, in order.

Returns

The same instance.

public static HelpTopic AddExamples(HelpTopic helpTopic, IEnumerable<HelpExample> items) #
Returns: HelpTopic

Adds items to HelpTopic.Examples: The examples.

Parameters

helpTopic ConsoleMonster.Help.HelpTopic requiredposition: 0
The instance.
items System.Collections.Generic.IEnumerable<ConsoleMonster.Help.HelpExample> requiredposition: 1
The items, in order.

Returns

The same instance.

public static HelpTopic AddInput(HelpTopic helpTopic, String item) #
Returns: HelpTopic

Adds an item to HelpTopic.Inputs: The input types (with an optional description after a tab).

Parameters

helpTopic ConsoleMonster.Help.HelpTopic requiredposition: 0
The instance.
item System.String requiredposition: 1
The item.

Returns

The same instance.

AddInputs 2 overloads
public static HelpTopic AddInputs(HelpTopic helpTopic, params String[] items) #
Returns: HelpTopic

Adds items to HelpTopic.Inputs: The input types (with an optional description after a tab).

Parameters

helpTopic ConsoleMonster.Help.HelpTopic requiredposition: 0
The instance.
items System.String[] requiredposition: 1
The items, in order.

Returns

The same instance.

public static HelpTopic AddInputs(HelpTopic helpTopic, IEnumerable<String> items) #
Returns: HelpTopic

Adds items to HelpTopic.Inputs: The input types (with an optional description after a tab).

Parameters

helpTopic ConsoleMonster.Help.HelpTopic requiredposition: 0
The instance.
items System.Collections.Generic.IEnumerable<System.String> requiredposition: 1
The items, in order.

Returns

The same instance.

AddLinks 2 overloads
public static HelpTopic AddNote(HelpTopic helpTopic, String item) #
Returns: HelpTopic

Adds an item to HelpTopic.Notes: The notes paragraphs.

Parameters

helpTopic ConsoleMonster.Help.HelpTopic requiredposition: 0
The instance.
item System.String requiredposition: 1
The item.

Returns

The same instance.

AddNotes 2 overloads
public static HelpTopic AddNotes(HelpTopic helpTopic, params String[] items) #
Returns: HelpTopic

Adds items to HelpTopic.Notes: The notes paragraphs.

Parameters

helpTopic ConsoleMonster.Help.HelpTopic requiredposition: 0
The instance.
items System.String[] requiredposition: 1
The items, in order.

Returns

The same instance.

public static HelpTopic AddNotes(HelpTopic helpTopic, IEnumerable<String> items) #
Returns: HelpTopic

Adds items to HelpTopic.Notes: The notes paragraphs.

Parameters

helpTopic ConsoleMonster.Help.HelpTopic requiredposition: 0
The instance.
items System.Collections.Generic.IEnumerable<System.String> requiredposition: 1
The items, in order.

Returns

The same instance.

public static HelpTopic AddOutput(HelpTopic helpTopic, String item) #
Returns: HelpTopic

Adds an item to HelpTopic.Outputs: The output types (with an optional description after a tab).

Parameters

helpTopic ConsoleMonster.Help.HelpTopic requiredposition: 0
The instance.
item System.String requiredposition: 1
The item.

Returns

The same instance.

AddOutputs 2 overloads
public static HelpTopic AddOutputs(HelpTopic helpTopic, params String[] items) #
Returns: HelpTopic

Adds items to HelpTopic.Outputs: The output types (with an optional description after a tab).

Parameters

helpTopic ConsoleMonster.Help.HelpTopic requiredposition: 0
The instance.
items System.String[] requiredposition: 1
The items, in order.

Returns

The same instance.

public static HelpTopic AddOutputs(HelpTopic helpTopic, IEnumerable<String> items) #
Returns: HelpTopic

Adds items to HelpTopic.Outputs: The output types (with an optional description after a tab).

Parameters

helpTopic ConsoleMonster.Help.HelpTopic requiredposition: 0
The instance.
items System.Collections.Generic.IEnumerable<System.String> requiredposition: 1
The items, in order.

Returns

The same instance.

public static HelpTopic AddParameter(HelpTopic helpTopic, HelpParameter item) #
Returns: HelpTopic

Adds an item to HelpTopic.Parameters: The parameters, in help order.

Parameters

helpTopic ConsoleMonster.Help.HelpTopic requiredposition: 0
The instance.
item ConsoleMonster.Help.HelpParameter requiredposition: 1
The item.

Returns

The same instance.

AddParameters 2 overloads
public static HelpTopic AddParameters(HelpTopic helpTopic, params HelpParameter[] items) #
Returns: HelpTopic

Adds items to HelpTopic.Parameters: The parameters, in help order.

Parameters

helpTopic ConsoleMonster.Help.HelpTopic requiredposition: 0
The instance.
items ConsoleMonster.Help.HelpParameter[] requiredposition: 1
The items, in order.

Returns

The same instance.

public static HelpTopic AddParameters(HelpTopic helpTopic, IEnumerable<HelpParameter> items) #
Returns: HelpTopic

Adds items to HelpTopic.Parameters: The parameters, in help order.

Parameters

helpTopic ConsoleMonster.Help.HelpTopic requiredposition: 0
The instance.
items System.Collections.Generic.IEnumerable<ConsoleMonster.Help.HelpParameter> requiredposition: 1
The items, in order.

Returns

The same instance.

AddSyntax 3 overloads
public static HelpTopic AddSyntax(HelpTopic helpTopic, HelpSyntax item) #
Returns: HelpTopic

Adds an item to HelpTopic.Syntax: One syntax per parameter set.

Parameters

helpTopic ConsoleMonster.Help.HelpTopic requiredposition: 0
The instance.
item ConsoleMonster.Help.HelpSyntax requiredposition: 1
The item.

Returns

The same instance.

public static HelpTopic AddSyntax(HelpTopic helpTopic, params HelpSyntax[] items) #
Returns: HelpTopic

Adds items to HelpTopic.Syntax: One syntax per parameter set.

Parameters

helpTopic ConsoleMonster.Help.HelpTopic requiredposition: 0
The instance.
items ConsoleMonster.Help.HelpSyntax[] requiredposition: 1
The items, in order.

Returns

The same instance.

public static HelpTopic AddSyntax(HelpTopic helpTopic, IEnumerable<HelpSyntax> items) #
Returns: HelpTopic

Adds items to HelpTopic.Syntax: One syntax per parameter set.

Parameters

helpTopic ConsoleMonster.Help.HelpTopic requiredposition: 0
The instance.
items System.Collections.Generic.IEnumerable<ConsoleMonster.Help.HelpSyntax> requiredposition: 1
The items, in order.

Returns

The same instance.

public static HelpTopic WithCommonParameters(HelpTopic helpTopic, Boolean value = true) #
Returns: HelpTopic

Sets HelpTopic.CommonParameters: Whether the command takes the common parameters (-Verbose, -ErrorAction and the others).

Parameters

helpTopic ConsoleMonster.Help.HelpTopic requiredposition: 0
The instance.
value System.Boolean = true optionalposition: 1
The value (default true).

Returns

The same instance.

public static HelpTopic WithNotice(HelpTopic helpTopic, String? value) #
Returns: HelpTopic

Sets HelpTopic.Notice: A note shown muted under the name (for example that only partial help is installed), or null.

Parameters

helpTopic ConsoleMonster.Help.HelpTopic requiredposition: 0
The instance.
value System.String? requiredposition: 1
The value.

Returns

The same instance.

public static HelpTopic WithSynopsis(HelpTopic helpTopic, String? value) #
Returns: HelpTopic

Sets HelpTopic.Synopsis: The one-line summary, or null.

Parameters

helpTopic ConsoleMonster.Help.HelpTopic requiredposition: 0
The instance.
value System.String? requiredposition: 1
The value.

Returns

The same instance.