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

AspectConfigurationAttribute.CreateAspectConfiguration Method

Creates a concrete AspectConfiguration instance specifically for the current AspectConfigurationAttribute type.

Namespace:  PostSharp.Aspects.Configuration
Assembly:  PostSharp (in PostSharp.dll) Version: 6.3.11.0 (6.3.11.0)
Syntax
C#
protected virtual AspectConfiguration CreateAspectConfiguration()

Return Value

Type: AspectConfiguration
A new and empty instance of AspectConfiguration, whose concrete type corresponds to the concrete type of the AspectConfigurationAttribute.
Remarks
This method should not set up the returned AspectConfiguration. After the current method has returned, the SetAspectConfiguration(AspectConfiguration) method will be invoked, and this method is responsible for setting up the AspectConfigurationobject.
See Also