PostSharp.ILAPI ReferencePost­Sharp.​Aspects.​DependenciesWaive­Aspect­Effect­Attribute
Open sandboxFocus

WaiveAspectEffectAttribute Class

Declares that the aspect class or advice to which this custom attribute is applied is exempt of a given effect.

Inheritance
WaiveAspectEffectAttribute
Namespace: PostSharp.Aspects.Dependencies
Assembly: PostSharp.dll
Syntax
public sealed class WaiveAspectEffectAttribute : Attribute

Constructors

Name Description
WaiveAspectEffectAttribute()

Initializes a new WaiveAspectEffectAttribute declaring that the aspect class or advice to which this custom attribute is applied has no effect at all.

WaiveAspectEffectAttribute(String[])

Initializes a new WaiveAspectEffectAttribute declaring that the aspect class or advice to which this custom attribute is applied is exempt of the specified effects.

Properties

Name Description
Effects

Gets the list of effects of which the aspect class or advice to which this custom attribute is applied is guaranteed to be exempt.