/// <summary> /// Register a type converter with the DefaultConverterFactory. /// </summary> /// <param name="forType">the property to register</param> /// <param name="converter">the converter</param> public void RegisterTypeConverter(Type forType, string propertyName, IJsonTypeConverter converter) { TypeHandlerFactory.RegisterTypeConverter(forType, propertyName, converter); }
/// <summary> /// Register a type converter with the DefaultConverterFactory. /// </summary> /// <param name="forType">the type to register</param> /// <param name="converter">the converter</param> public void RegisterTypeConverter(Type forType, IJsonTypeConverter converter) { TypeHandlerFactory.RegisterTypeConverter(forType, converter); }