This is the online documentation for PostSharp 5.0.
Download PDF or CHM. Go to v4.3 or v5.0

Aspect.GetAspectConfiguration Method

Method invoked at build tome to get the imperative configuration of the current Aspect.

Namespace:  PostSharp.Aspects
Assembly:  PostSharp (in PostSharp.dll) Version: 5.0.34.0 (5.0.34.0)
Syntax
C#
public 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.

Implements

IAspectBuildSemantics.GetAspectConfiguration(Object)
Remarks

This method can be customized by overriding CreateAspectConfiguration() and/or SetAspectConfiguration(AspectConfiguration, Object)

.
See Also