public abstract CanConvert ( |
||
objectType | Type of the object. | |
return | bool |
public abstract bool CanConvert(Type objectType);
internal static JsonConverter GetMatchingConverter(IList <JsonConverter> converters, Type objectType) { if (converters != null) { for (int index = 0; index < converters.Count; ++index) { JsonConverter jsonConverter = converters[index]; if (jsonConverter.CanConvert(objectType)) { return(jsonConverter); } } } return((JsonConverter)null); }