LocalizedStringProviderUsageDefaultValue Method
Gets the text to use to display a default value in the usage help, used by the
UsageWriter class.
Namespace: Ookii.CommandLineAssembly: Ookii.CommandLine (in Ookii.CommandLine.dll) Version: 4.2.0+a4d3631e4dcc0970081ed435288efdebc1325f83
public virtual string UsageDefaultValue(
Object defaultValue,
IFormatProvider formatProvider
)
Public Overridable Function UsageDefaultValue (
defaultValue As Object,
formatProvider As IFormatProvider
) As String
Dim instance As LocalizedStringProvider
Dim defaultValue As Object
Dim formatProvider As IFormatProvider
Dim returnValue As String
returnValue = instance.UsageDefaultValue(defaultValue,
formatProvider)
public:
virtual String^ UsageDefaultValue(
Object^ defaultValue,
IFormatProvider^ formatProvider
)
- defaultValue Object
- The argument's default value.
- formatProvider IFormatProvider
-
An object that provides culture-specific format information for the default value. This
will be the value of the Culture property, to ensure the
format used matches the format used when parsing arguments.
StringThe string.