PostSharp.ILAPI ReferencePost­Sharp.​AspectsAspectGet­Aspect­Configuration
Open sandboxFocus

Aspect.GetAspectConfiguration Method

GetAspectConfiguration(Object)

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

Declaration
public AspectConfiguration GetAspectConfiguration(object targetElement)
Parameters
Type Name Description
Object targetElement

Code element (System.Reflection.Assembly, Type, System.Reflection.FieldInfo, MethodBase, PropertyInfo, System.Reflection.EventInfo, ParameterInfo, or LocationInfo) to which the current Aspect has been applied.

Returns
Type Description
AspectConfiguration

An AspectConfiguration representing the imperative configuration of the current Aspect.

Implements
IAspectBuildSemantics.GetAspectConfiguration(Object)