PostSharp SDK 2023.0 / / Class Reference / Post­Sharp.​Sdk.​Aspect­Infrastructure Namespace / IType­Initialization­Client Interface

ITypeInitializationClient Interface

Client of the TypeInitializationManager class. Emits aspect initialization instructions into enhanced classes.

Namespace:  PostSharp.Sdk.AspectInfrastructure
Assembly:  PostSharp.Compiler.Engine (in PostSharp.Compiler.Engine.dll) Version: 2023.0.3.0 (2023.0.3.0)
public interface ITypeInitializationClient : IAspectDependencyObject

The ITypeInitializationClient type exposes the following members.

Public propertyDependencies
Gets the set of dependencies attached to the current object. The current object is the left member of all dependencies.
(Inherited from IAspectDependencyObject.)
Public propertyIsBeforeFieldInitSupported
Determines whether the client is compatible with the BeforeFieldInit class-level specifier. If true, then PostSharp doesn't add or remove the beforefieldinit specifier - it keeps whatever the C# compiler emitted. If false, then PostSharp removes the beforefieldinit specifier from the class if it had one. You cannot add beforefieldinit to a class that didn't have one.
Public propertyIsCommutative
Determines whether the current object is commutative with any other object, irrespective of dependencies or effects. If yes, then PostSharp can apply it in any order with respect to other objects.
(Inherited from IAspectDependencyObject.)
Public methodEmit
Emits aspect initialization instructions into enhanced classes.
Public methodGetDisplayName
Gets a human-readable string representing the current object.
(Inherited from IAspectDependencyObject.)
Public methodHasEffect
Determines whether the current object has a given effect.
(Inherited from IAspectDependencyObject.)
See Also