PostSharp//API Reference/Post­Sharp.​Aspects.​Dependencies/Waive­Aspect­Effect­Attribute/Waive­Aspect­Effect­Attribute
Open sandboxFocus

Constructor WaiveAspectEffectAttribute

WaiveAspectEffectAttribute()

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

Declaration
public WaiveAspectEffectAttribute()

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.

Declaration
public WaiveAspectEffectAttribute(params string[] effects)
Parameters
Type Name Description
String[] effects

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