PostSharp 6.8 / / Post­Sharp Documentation / 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: 6.8.6.0 (6.8.6.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