PostSharp SDK 2023.0 / / Class Reference / Post­Sharp.​Sdk.​Aspect­Weaver Namespace / Aspect­Weaver­Transformation­Instance Class / Aspect­Weaver­Transformation­Instance Methods / Aspect­Weaver­Transformation­Instance.​Has­Effect Method

AspectWeaverTransformationInstance.HasEffect Method

Determines whether the current transformation has a given effect.

Namespace:  PostSharp.Sdk.AspectWeaver
Assembly:  PostSharp.Compiler.Engine (in PostSharp.Compiler.Engine.dll) Version: 2023.0.3.0 (2023.0.3.0)
Syntax
C#
public virtual bool HasEffect(
	string effect
)

Parameters

effect
Type: System.String
Effect.

Return Value

Type: Boolean
true if the current transformation has the specified effect, otherwise false.

Implements

IAspectDependencyObject.HasEffect(String)
See Also