NullTransformationInstance.HasEffect Method |
Determines whether the current object has a given effect.
Namespace: PostSharp.Sdk.AspectInfrastructure
Assembly: PostSharp.Compiler.Engine (in PostSharp.Compiler.Engine.dll) Version: 2023.0.3.0 (2023.0.3.0)
C#
public bool HasEffect( string effect )
Parameters
- effect
- Type: System.String
A case-sensitive string uniquely identifying the effect. See StandardEffects.
Return Value
Type: Booleantrue if the current object has the current effect, otherwise false.