PostSharp//API Reference/Post­Sharp.​Patterns.​Model.​Type­Adapters/Type­Adapter­Factory/Create­Type­Adapter
Open sandboxFocus

Method CreateTypeAdapter

CreateTypeAdapter(Type)

Creates a TypeAdapter for a specific Type.

Declaration
public abstract TypeAdapter CreateTypeAdapter(Type type)
Parameters
Type Name Description
Type type

The target Type for which the TypeAdapter should be created.

Returns
Type Description
TypeAdapter

A TypeAdapter for type.