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

AspectConfigurationAttribute.SetAspectConfiguration Method

SetAspectConfiguration(AspectConfiguration)

Sets up an AspectConfiguration object according to the current custom attribute instance.

Declaration
protected virtual void SetAspectConfiguration(AspectConfiguration aspectConfiguration)
Parameters
Type Name Description
AspectConfiguration aspectConfiguration

The AspectConfiguration instance previously returned by the CreateAspectConfiguration() method.

Remarks

Classes overriding this method must always invoke the base implementation before performing their own changes to the AspectConfiguration.