Method Option
Option(String, String, CommandOptionType)
Declaration
public virtual CommandOption Option(string template, string description, CommandOptionType optionType)
Parameters
Type |
Name |
Description |
System.String |
template |
|
System.String |
description |
|
CommandOptionType |
optionType |
|
Returns
Option(String, String, CommandOptionType, Boolean)
Declaration
public virtual CommandOption Option(string template, string description, CommandOptionType optionType, bool inherited)
Parameters
Type |
Name |
Description |
System.String |
template |
|
System.String |
description |
|
CommandOptionType |
optionType |
|
System.Boolean |
inherited |
|
Returns
Option(String, String, CommandOptionType, Action<CommandOption>)
Declaration
public virtual CommandOption Option(string template, string description, CommandOptionType optionType, Action<CommandOption> configuration)
Parameters
Returns
Option(String, String, CommandOptionType, Action<CommandOption>, Boolean)
Declaration
public virtual CommandOption Option(string template, string description, CommandOptionType optionType, Action<CommandOption> configuration, bool inherited)
Parameters
Type |
Name |
Description |
System.String |
template |
|
System.String |
description |
|
CommandOptionType |
optionType |
|
Action<CommandOption> |
configuration |
|
System.Boolean |
inherited |
|
Returns