PostSharp SDK 6.10 / / 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: 6.10.14.0 (6.10.14.0)
Syntax
C#
public interface ITypeInitializationClient : IAspectDependencyObject

The ITypeInitializationClient type exposes the following members.

Properties
  NameDescription
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.)
Methods
  NameDescription
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