Class FallbackObjectToStringConverter
public class FallbackObjectToStringConverter : AbstractConverter<object, string>, IConditionalGenericConverter, IConditionalConverter, IGenericConverter, IConverter<object, string>
- Inheritance
-
FallbackObjectToStringConverter
- Implements
- Inherited Members
Methods
Convert(object)
Convert the source object of type S to a target object of type T.
public override string Convert(object source)
Parameters
sourceobjectthe source object to convert; can not be null
Returns
- string
the converted object which must be type T
Matches(Type, Type)
Can the conversion from source type to target type be performed by this converter
public override bool Matches(Type sourceType, Type targetType)
Parameters
sourceTypeTypethe type of the source object to convert from
targetTypeTypethe type of the target object to conver to
Returns
- bool
true if the conversion can be performed