public class KeyValuePairConverter<TKey, TValue> : ArgumentConverter
Public Class KeyValuePairConverter(Of TKey, TValue)
Inherits ArgumentConverter
Dim instance As KeyValuePairConverter(Of TKey, TValue)
generic<typename TKey, typename TValue>
public ref class KeyValuePairConverter : public ArgumentConverter
This ArgumentConverter is used for dictionary command line arguments by default.
The behavior of this converter can be customized by applying the KeyConverterAttribute, ValueConverterAttribute or KeyValueSeparatorAttribute attribute to the property or method defining a dictionary argument.
KeyValuePairConverterTKey, TValue | Initializes a new instance of the KeyValuePairConverterTKey, TValue class. |
KeyValuePairConverterTKey, TValue(ArgumentConverter, ArgumentConverter, String, Boolean) | Initializes a new instance of the KeyValuePairConverterTKey, TValue class with the specified key and value converters and options. |
AllowNullValues | Gets a value which indicates whether the values of the key/value pair can be . |
KeyConverter | Gets the converter used for the keys of the key/value pair. |
Separator | Gets the key/value separator. |
ValueConverter | Gets the converter used for the values of the key/value pair. |
Convert(ReadOnlySpanChar, CultureInfo, CommandLineArgument) |
Converts a string span to a KeyValuePairTKey, TValue.
(Overrides ArgumentConverterConvert(ReadOnlySpanChar, CultureInfo, CommandLineArgument)) |
Convert(String, CultureInfo, CommandLineArgument) |
Converts a string to a KeyValuePairTKey, TValue.
(Overrides ArgumentConverterConvert(String, CultureInfo, CommandLineArgument)) |
Equals | Determines whether the specified object is equal to the current object. (Inherited from Object) |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object) |
GetHashCode | Serves as the default hash function. (Inherited from Object) |
GetType | Gets the Type of the current instance. (Inherited from Object) |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object) |
ToString | Returns a string that represents the current object. (Inherited from Object) |