PostSharp4.3//API Reference/Post­Sharp.​Aspects Namespace/IAspect­Build­Semantics Interface/IAspect­Build­Semantics Methods/IAspect­Build­Semantics.​Get­Aspect­Configuration Method
IAspectBuildSemantics.GetAspectConfiguration Method
Method invoked at build time to get the imperative configuration of the current Aspect.

Namespace: PostSharp.Aspects
Assembly: PostSharp (in PostSharp.dll) Version: 4.3.48.0 (4.3.48.0)
Syntax
C#
AspectConfiguration GetAspectConfiguration(
	Object targetElement
)

Parameters

targetElement
Type: System.Object
Code element (Assembly, Type, FieldInfo, MethodBase, PropertyInfo, EventInfo, ParameterInfo, or LocationInfo) to which the current aspect has been applied.

Return Value

Type: AspectConfiguration
An AspectConfiguration representing the imperative configuration of the current Aspect.
See Also