Skip to content
ConsoleMonster

API Reference

Class

HelpSyntaxFluent

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

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

Inheritance

  • Object
  • HelpSyntaxFluent

Methods

public static HelpSyntax AddParameter(HelpSyntax helpSyntax, HelpSyntaxParameter item) #
Returns: HelpSyntax

Adds an item to HelpSyntax.Parameters: The parameters.

Parameters

helpSyntax ConsoleMonster.Help.HelpSyntax requiredposition: 0
The instance.
item ConsoleMonster.Help.HelpSyntaxParameter requiredposition: 1
The item.

Returns

The same instance.

AddParameters 2 overloads
public static HelpSyntax AddParameters(HelpSyntax helpSyntax, params HelpSyntaxParameter[] items) #
Returns: HelpSyntax

Adds items to HelpSyntax.Parameters: The parameters.

Parameters

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

Returns

The same instance.

public static HelpSyntax AddParameters(HelpSyntax helpSyntax, IEnumerable<HelpSyntaxParameter> items) #
Returns: HelpSyntax

Adds items to HelpSyntax.Parameters: The parameters.

Parameters

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

Returns

The same instance.

public static HelpSyntax WithCommonParameters(HelpSyntax helpSyntax, Boolean value = true) #
Returns: HelpSyntax

Sets HelpSyntax.CommonParameters: Whether the common parameters follow.

Parameters

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

Returns

The same instance.

public static HelpSyntax WithSetName(HelpSyntax helpSyntax, String? value) #
Returns: HelpSyntax

Sets HelpSyntax.SetName: The parameter set's name, or null.

Parameters

helpSyntax ConsoleMonster.Help.HelpSyntax requiredposition: 0
The instance.
value System.String? requiredposition: 1
The value.

Returns

The same instance.