Open sandboxFocus

Constructor TypeAdapter

TypeAdapter(Type)

Initializes a new TypeAdapter for a specific AdaptedType.

Declaration
protected TypeAdapter(Type type)
Parameters
Type Name Description
Type type

The AdaptedType being adapted.

TypeAdapter(bool)

Initializes a new TypeAdapter for no specific type.

Declaration
protected TypeAdapter(bool isSealed)
Parameters
Type Name Description
bool isSealed

true if the TypeAdapter represents a type that cannot have derived types (such as a value type or a sealed class), otherwise false.