PostSharp 2023.0 / / Post­Sharp Documentation / API Reference / Post­Sharp.​Aspects Namespace / Type­Identity Class / Type­Identity Methods

TypeIdentity Methods

The TypeIdentity type exposes the following members.

Methods
  NameDescription
Public methodStatic memberFromType
Wraps a Type into a TypeIdentity.
Public methodStatic memberFromTypeName
Wraps a type name into a TypeIdentity.
Public methodStatic memberFromTypeNames
Wraps an array of type names into an array of TypeIdentity.
Public methodStatic memberFromTypes
Wraps an array of Type into an array of TypeIdentity.
Public methodToType
Converts a TypeIdentity into a Type.
See Also