Skip to content

ICodecSelector Methods

Functionality used by general-purpose codecs (such as a JSON codec) to allow types to opt-in to using them.

IsSupportedType(Type)

abstract
public abstract bool IsSupportedType(Type type)
Returns true if the specified codec should be used for this type.

Parameters

typeType
The type to inspect.

Returns

true if the codec should be used for the specified type; otherwise, false.