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

ITypeInitializationClient Properties

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.)
See Also