PostSharp.ILAPI ReferencePost­Sharp.​AspectsComposition­AspectSet­Aspect­Configuration
Open sandboxFocus

CompositionAspect.SetAspectConfiguration Method

SetAspectConfiguration(AspectConfiguration, Type)

Method invoked at build time to set up an AspectConfiguration object according to the current Aspect instance and a specified target element of the current aspect.

Declaration
protected override void SetAspectConfiguration(AspectConfiguration aspectConfiguration, Type targetType)
Parameters
Type Name Description
AspectConfiguration aspectConfiguration

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

Type targetType

Type to which the current aspect has been applied.

Overrides
TypeLevelAspect.SetAspectConfiguration(AspectConfiguration, Type)