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

OnExceptionAspectConfigurationAttribute.CreateAspectConfiguration Method

CreateAspectConfiguration()

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

Declaration
protected override AspectConfiguration CreateAspectConfiguration()
Returns
Type Description
AspectConfiguration

A new and empty instance of AspectConfiguration, whose concrete type corresponds to the concrete type of the AspectConfigurationAttribute.

Overrides
AspectConfigurationAttribute.CreateAspectConfiguration()
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.