PostSharp 6.9 / / Post­Sharp Documentation / API Reference / Post­Sharp.​Aspects.​Configuration Namespace / Aspect­Configuration­Attribute Class / Aspect­Configuration­Attribute Methods / Aspect­Configuration­Attribute.​Get­Aspect­Configuration Method

AspectConfigurationAttribute.GetAspectConfiguration Method

Gets the AspectConfiguration corresponding to the current custom attribute.

Namespace:  PostSharp.Aspects.Configuration
Assembly:  PostSharp (in PostSharp.dll) Version: 6.9.1.0 (6.9.1.0)
Syntax
C#
public AspectConfiguration GetAspectConfiguration()

Return Value

Type: AspectConfiguration
An AspectConfiguration corresponding to the current custom attribute.
Remarks

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

.
See Also