PostSharp 2023.0 / / Post­Sharp Documentation / 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: 2023.0.3.0 (2023.0.3.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