The type of the input value.
The type of the output value.
Constructor that initializes the FirstSuitableConverter with an array of converters.
The type of the input value.
The type of the output value.
Checks if the given value can be converted by any of the converters in the list.
The value to check.
True if the value can be converted, false otherwise.
Protected
findReturns the reverse converter for this converter. Creates a new instance of FirstSuitableConverter with the reverse converters of each converter in the list.
Protected
throwThrows a ConversionError for the given value.
The value that caused the conversion error.
never - This function does not return; it always throws an error.
Converter that converts a value of type "TInput" to a value of type "TOutput" using the first suitable converter from a list of converters.