TypeLevelAspect.SetAspectConfiguration Method (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.
Namespace: PostSharp.Aspects
Assembly: PostSharp (in PostSharp.dll) Version: 6.4.3.0 (6.4.3.0)

C#
protected virtual void SetAspectConfiguration( AspectConfiguration aspectConfiguration, Type targetType )
Parameters
- aspectConfiguration
- Type: PostSharp.Aspects.Configuration.AspectConfiguration
The AspectConfiguration instance previously returned by the CreateAspectConfiguration() method. - targetType
- Type: System.Type
Type to which the current aspect has been applied.

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