Interface IConditionalConverter
Allows a converter to conditionally execute based on the types of the source and target
public interface IConditionalConverter
Methods
Matches(Type, Type)
Can the conversion from source type to target type be performed by this converter
bool Matches(Type sourceType, Type targetType)
Parameters
sourceType
Typethe type of the source object to convert from
targetType
Typethe type of the target object to conver to
Returns
- bool
true if the conversion can be performed