API Reference
HelpParameterFluent
The fluent methods of HelpParameter, generated from its public properties: With... sets a property and Add... adds to a collection, both returning the same instance.
Inheritance
- Object
- HelpParameterFluent
Methods
public static HelpParameter AddAliase(HelpParameter helpParameter, String item) #HelpParameterAdds an item to HelpParameter.Aliases: The aliases, or empty.
Parameters
- helpParameter ConsoleMonster.Help.HelpParameter
- The instance.
- item System.String
- The item.
Returns
The same instance.
public static HelpParameter AddAliases(HelpParameter helpParameter, params String[] items) #HelpParameterAdds items to HelpParameter.Aliases: The aliases, or empty.
Parameters
- helpParameter ConsoleMonster.Help.HelpParameter
- The instance.
- items System.String[]
- The items, in order.
Returns
The same instance.
public static HelpParameter AddAliases(HelpParameter helpParameter, IEnumerable<String> items) #HelpParameterAdds items to HelpParameter.Aliases: The aliases, or empty.
Parameters
- helpParameter ConsoleMonster.Help.HelpParameter
- The instance.
- items System.Collections.Generic.IEnumerable<System.String>
- The items, in order.
Returns
The same instance.
public static HelpParameter WithDefault(HelpParameter helpParameter, String? value) #HelpParameterSets HelpParameter.Default: The default value, or null.
Parameters
- helpParameter ConsoleMonster.Help.HelpParameter
- The instance.
- value System.String?
- The value.
Returns
The same instance.
public static HelpParameter WithDescription(HelpParameter helpParameter, String? value) #HelpParameterSets HelpParameter.Description: The description, or null.
Parameters
- helpParameter ConsoleMonster.Help.HelpParameter
- The instance.
- value System.String?
- The value.
Returns
The same instance.
public static HelpParameter WithPipeline(HelpParameter helpParameter, String? value) #HelpParameterSets HelpParameter.Pipeline: How it takes pipeline input (for example ByValue, ByPropertyName), or null for none.
Parameters
- helpParameter ConsoleMonster.Help.HelpParameter
- The instance.
- value System.String?
- The value.
Returns
The same instance.
public static HelpParameter WithPosition(HelpParameter helpParameter, String? value) #HelpParameterSets HelpParameter.Position: The position (0, 1, ...), or null when it is named only.
Parameters
- helpParameter ConsoleMonster.Help.HelpParameter
- The instance.
- value System.String?
- The value.
Returns
The same instance.
public static HelpParameter WithRequired(HelpParameter helpParameter, Boolean value = true) #HelpParameterSets HelpParameter.Required: Whether it is required (in any parameter set).
Parameters
- helpParameter ConsoleMonster.Help.HelpParameter
- The instance.
- value System.Boolean = true
- The value (default true).
Returns
The same instance.
public static HelpParameter WithType(HelpParameter helpParameter, String? value) #HelpParameterSets HelpParameter.Type: The type, or null.
Parameters
- helpParameter ConsoleMonster.Help.HelpParameter
- The instance.
- value System.String?
- The value.
Returns
The same instance.
Inherited Methods
public virtual Boolean Equals(Object? obj) #BooleanParameters
- obj Object?