/// <summary> /// Unregisters an existing <see cref="ITypeInspector" /> of type <param name="inspectorType" />. /// </summary> public TBuilder WithoutTypeInspector(Type inspectorType) { if (inspectorType == null) { throw new ArgumentNullException("inspectorType"); } typeInspectorFactories.Remove(inspectorType); return(Self); }
/// <summary> /// Unregisters an existing <see cref="INodeTypeResolver" /> of type <param name="nodeTypeResolverType" />. /// </summary> public DeserializerBuilder WithoutNodeTypeResolver(Type nodeTypeResolverType) { if (nodeTypeResolverType == null) { throw new ArgumentNullException("nodeTypeResolverType"); } nodeTypeResolverFactories.Remove(nodeTypeResolverType); return(this); }
/// <summary> /// Unregisters an existing <see cref="IYamlTypeConverter" /> of type <param name="converterType" />. /// </summary> public TBuilder WithoutTypeConverter(Type converterType) { if (converterType == null) { throw new ArgumentNullException("converterType"); } typeConverterFactories.Remove(converterType); return(Self); }