Skip to content

ISpecializableCodec Methods

Provides access to codecs for multiple types.

GetSpecializedCodec(Type)

abstract
public abstract IFieldCodec GetSpecializedCodec(Type type)
Gets an IFieldCodec implementation which supports the specified type.

Parameters

typeType
The type.

Returns

An IFieldCodec implementation which supports the specified type.

IsSupportedType(Type)

abstract
public abstract bool IsSupportedType(Type type)
Determines whether the specified type is supported by this instance.

Parameters

typeType
The type.

Returns

true if the specified type is supported; otherwise, false.