PostSharp 2023.0 / / Post­Sharp Documentation / API Reference / Post­Sharp.​Aspects Namespace / Location­Interception­Aspect Class / Location­Interception­Aspect Methods / Location­Interception­Aspect.​Create­Aspect­Configuration Method

LocationInterceptionAspect.CreateAspectConfiguration Method

Method invoked at build time to create a concrete AspectConfiguration instance specifically for the current Aspect type.

Namespace:  PostSharp.Aspects
Assembly:  PostSharp (in PostSharp.dll) Version: 2023.0.3.0 (2023.0.3.0)
protected override sealed AspectConfiguration CreateAspectConfiguration()

Return Value

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