PostSharp6.2/API Reference/Post­Sharp.​Aspects.​Configuration Namespace/Aspect­Configuration­Attribute Class/Aspect­Configuration­Attribute Methods/Aspect­Configuration­Attribute.​Set­Aspect­Configuration Method

AspectConfigurationAttribute.SetAspectConfiguration Method

Sets up an AspectConfiguration object according to the current custom attribute instance.

Namespace:  PostSharp.Aspects.Configuration
Assembly:  PostSharp (in PostSharp.dll) Version: 6.2.11.0 (6.2.11.0)
Syntax
C#
protected virtual void SetAspectConfiguration(
	AspectConfiguration aspectConfiguration
)

Parameters

aspectConfiguration
Type: PostSharp.Aspects.Configuration.AspectConfiguration
The AspectConfiguration instance previously returned by the CreateAspectConfiguration() method.
Remarks

Classes overriding this method must always invoke the base implementation before performing their own changes to the AspectConfiguration.

See Also