PostSharp5.0/API Reference/Post­Sharp.​Aspects Namespace/Type­Identity Class/Type­Identity Methods/Type­Identity.​From­Type Method

TypeIdentity.FromType Method

Wraps a Type into a TypeIdentity.

Namespace:  PostSharp.Aspects
Assembly:  PostSharp (in PostSharp.dll) Version: 5.0.55.0 (5.0.55.0)
Syntax
C#
public static TypeIdentity FromType(
	Type type
)

Parameters

type
Type: System.Type
A Type.

Return Value

Type: TypeIdentity
A TypeIdentity wrapping .
See Also