Open sandboxFocus

Class TypeIdentity

Wraps a Type or a type name.

Inheritance
TypeIdentity
Namespace: PostSharp.Aspects
Assembly: PostSharp.dll
Syntax
public class TypeIdentity

Properties

Name Description
Type

Gets the wrapped Type, or null it the TypeName property is set.

TypeName

Gets the wrapped type name, or null it the Type property is set.

Methods

Name Description
FromType(Type)

Wraps a Type into a TypeIdentity.

FromTypeName(string)

Wraps a type name into a TypeIdentity.

FromTypeNames(string[])

Wraps an array of type names into an array of TypeIdentity.

FromTypes(Type[])

Wraps an array of Type into an array of TypeIdentity.

ToType()

Converts a TypeIdentity into a Type.