Open sandboxFocus

Class WaiveAspectEffectAttribute

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
[AttributeUsage(AttributeTargets.Class|AttributeTargets.Method)]
public sealed class WaiveAspectEffectAttribute : Attribute
Remarks

See AspectEffectDependencyAttribute for details about effects.

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(params 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.

See Also