PostSharp 4.3 / / Post­Sharp Documentation / API Reference / Post­Sharp.​Patterns.​Diagnostics Namespace / Log­Attribute­Base Class / Log­Attribute­Base Methods / Log­Attribute­Base.​Create­Aspect­Configuration Method
LogAttributeBase.CreateAspectConfiguration Method
Method invoked at build time to create a concrete AspectConfiguration instance specifically for the current Aspect type.

Namespace: PostSharp.Patterns.Diagnostics
Assembly: PostSharp.Patterns.Diagnostics (in PostSharp.Patterns.Diagnostics.dll) Version: (
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