PostSharp SDK 2023.0 / / Class Reference / Post­Sharp.​Sdk.​Aspect­Infrastructure Namespace / Type­Initialization­Manager Class / Type­Initialization­Manager Methods

TypeInitializationManager Methods

The TypeInitializationManager type exposes the following members.

Methods
  NameDescription
Public methodDispose
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetInitializeAspectsProtectedMethod
Gets the generated InitializeAspects protected method for a given type.
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodRegisterClient(ITypeInitializationClient, TypeInitializationClientScopes)
Registers a client with scope Module, and only as a module initializer. Any other scope is ignored.
Public methodRegisterClient(TypeDefDeclaration, ITypeInitializationClient, TypeInitializationClientScopes)
Registers an ITypeInitializationClient for a given TypeDefDeclaration.
Public methodRegisterCloneClient
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
See Also