Method VersionOption
VersionOption(String, String, String)
Declaration
public virtual CommandOption VersionOption(string template, string shortFormVersion, string longFormVersion = null)
Parameters
Type |
Name |
Description |
System.String |
template |
|
System.String |
shortFormVersion |
|
System.String |
longFormVersion |
|
Returns
VersionOption(String, Func<String>, Func<String>)
Declaration
public virtual CommandOption VersionOption(string template, Func<string> shortFormVersionGetter, Func<string> longFormVersionGetter = null)
Parameters
Type |
Name |
Description |
System.String |
template |
|
Func<System.String> |
shortFormVersionGetter |
|
Func<System.String> |
longFormVersionGetter |
|
Returns