PostSharpAPI ReferencePost­Sharp.​Aspects.​ConfigurationAspect­Configuration­AttributeCreate­Aspect­Configuration
Open sandboxFocus

AspectConfigurationAttribute.CreateAspectConfiguration Method

CreateAspectConfiguration()

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

Declaration
protected virtual AspectConfiguration CreateAspectConfiguration()
Returns
Type Description
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.