private bool HasMatchingConverter(Type type, out JsonConverter matchingConverter) { if (_converters != null) { for (int i = 0; i < _converters.Count; i++) { JsonConverter converter = _converters[i]; if (converter.CanConvert(type)) { matchingConverter = converter; return true; } } } matchingConverter = null; return false; }
public int IndexOf(JsonConverter converter) { return List.IndexOf(converter); }
public virtual void Remove(JsonConverter converter) { List.Remove(converter); }
public bool Contains(JsonConverter converter) { return List.Contains(converter); }
public virtual void Add(JsonConverter converter) { List.Add(converter); }