PostSharpAPI ReferencePost­Sharp.​Aspects.​DependenciesWaive­Aspect­Effect­AttributeWaive­Aspect­Effect­Attribute
Open sandboxFocus

WaiveAspectEffectAttribute Constructor

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
System.String[] effects

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