PostSharp5.0//API Reference/Post­Sharp.​Aspects.​Dependencies Namespace/Waive­Aspect­Effect­Attribute Class

WaiveAspectEffectAttribute Class

Declares that the aspect class or advice to which this custom attribute is applied is exempt of a given effect.
Inheritance Hierarchy
System.Object
  System.Attribute
    PostSharp.Aspects.Dependencies.WaiveAspectEffectAttribute

Namespace:  PostSharp.Aspects.Dependencies
Assembly:  PostSharp (in PostSharp.dll) Version: 5.0.55.0 (5.0.55.0)
Syntax
C#
public sealed class WaiveAspectEffectAttribute : Attribute

The WaiveAspectEffectAttribute type exposes the following members.

Constructors
  NameDescription
Public methodWaiveAspectEffectAttribute()
Initializes a new WaiveAspectEffectAttribute declaring that the aspect class or advice to which this custom attribute is applied has no effect at all.
Public methodWaiveAspectEffectAttribute(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.
Extension Methods
  NameDescription
Public Extension MethodQueryInterface<T>
Gets the implementation of a specified interface for the specified object.
(Defined by QueryInterfaceExtensions.)
Remarks
See AspectEffectDependencyAttribute for details about effects.
Remarks
See Also