Class HumlConverter

Namespace
Huml.Net.Serialization
Assembly
Huml.Net.dll

Abstract base class for all HUML converters. Provides a non-generic entry point for collection storage in HumlOptions.Converters and type-check dispatch via CanConvert(Type).

public abstract class HumlConverter
Inheritance
HumlConverter
Derived
Inherited Members

Remarks

Converters must be stateless — a single instance is cached and shared across threads. Do not store per-call or per-thread state in converter instance fields.

Methods

CanConvert(Type)

Returns true when this converter can handle typeToConvert.

public abstract bool CanConvert(Type typeToConvert)

Parameters

typeToConvert Type

The CLR type to evaluate.

Returns

bool