Aspect.GetAspectConfiguration Method |
Namespace: PostSharp.Aspects
Assembly: PostSharp (in PostSharp.dll) Version: 6.7.12.0 (6.7.12.0)
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: AspectConfigurationAn AspectConfiguration representing the imperative configuration of the current Aspect.
Implements
IAspectBuildSemantics.GetAspectConfiguration(Object)This method can be customized by overriding CreateAspectConfiguration() and/or SetAspectConfiguration(AspectConfiguration, Object)
.