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.1.0+9df03b6173b5fc9d44dc39638758964dd7a0f4c7
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.