public class ParsableConverter<T> : ArgumentConverter
where T : Object, IParsable<T>
Public Class ParsableConverter(Of T As {Object, IParsable(Of T)})
Inherits ArgumentConverter
Dim instance As ParsableConverter(Of T)
generic<typename T>
where T : Object, IParsable<T>
public ref class ParsableConverter : public ArgumentConverter
Conversion is performed using the IParsableTSelfParse(String, IFormatProvider) method.
Only use this converter for types that implement the IParsableTSelf interface, but not the ISpanParsableTSelf interface. For types that implement the ISpanParsableTSelf interface, use the SpanParsableConverterT class.
ParsableConverterT | Initializes a new instance of the ParsableConverterT class |
Convert(ReadOnlySpanChar, CultureInfo, CommandLineArgument) |
Converts a string span to the type of the argument.
(Inherited from ArgumentConverter) |
Convert(String, CultureInfo, CommandLineArgument) |
Converts a string to the type of the argument.
(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) |