PostSharpAPI ReferencePost­Sharp.​Patterns.​Model.​Type­AdaptersType­AdapterType­Adapter
Open sandboxFocus

TypeAdapter Constructor

TypeAdapter(Type)

Initializes a new TypeAdapter for a specific AdaptedType.

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

The AdaptedType being adapted.

TypeAdapter(Boolean)

Initializes a new TypeAdapter for no specific type.

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

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