EventLevelAspect.SetAspectConfiguration Method (AspectConfiguration, EventInfo) |
Namespace: PostSharp.Aspects
Assembly: PostSharp (in PostSharp.dll) Version: 6.10.10.0 (6.10.10.0)
protected virtual void SetAspectConfiguration( AspectConfiguration aspectConfiguration, EventInfo targetEvent )
Parameters
- aspectConfiguration
- Type: PostSharp.Aspects.Configuration.AspectConfiguration
The AspectConfiguration instance previously returned by the CreateAspectConfiguration() method. - targetEvent
- Type: System.Reflection.EventInfo
Event 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.