PostSharp 6.5 / / Post­Sharp Documentation / API Reference / Post­Sharp.​Patterns.​Model.​Type­Adapters Namespace / Type­Adapter­Factory Class / Type­Adapter­Factory Methods / Type­Adapter­Factory.​Create­Type­Adapter Method

TypeAdapterFactory.CreateTypeAdapter Method

Creates a TypeAdapter for a specific Type.

Namespace:  PostSharp.Patterns.Model.TypeAdapters
Assembly:  PostSharp.Patterns.Aggregation (in PostSharp.Patterns.Aggregation.dll) Version: 6.5.19.0 (6.5.19.0)
Syntax
C#
public abstract TypeAdapter CreateTypeAdapter(
	Type type
)

Parameters

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

Return Value

Type: TypeAdapter
A TypeAdapter for type.
See Also