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

TypeAdapterFactory.CreateTypeAdapter Method

CreateTypeAdapter(Type)

Creates a TypeAdapter for a specific System.Type.

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

The target System.Type for which the TypeAdapter should be created.

Returns
Type Description
TypeAdapter

A TypeAdapter for type.