PostSharpAPI ReferencePost­Sharp.​AspectsAspectCreate­Aspect­Configuration
Open sandboxFocus

Aspect.CreateAspectConfiguration Method

CreateAspectConfiguration()

Method invoked at build time to create a concrete AspectConfiguration instance specifically for the current Aspect 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 Aspect.

Remarks

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