PostSharp SDK 2023.0 / / Class Reference / Post­Sharp.​Sdk.​Aspect­Weaver Namespace / Advice­Info Class / Advice­Info Properties / Advice­Info.​Has­Parameter Property

AdviceInfo.HasParameter Property

Returns true if there is at least one slim-advice-style parameter, and thus the GetParameters() method will not return null.

Namespace:  PostSharp.Sdk.AspectWeaver
Assembly:  PostSharp.Compiler.Engine (in PostSharp.Compiler.Engine.dll) Version: 2023.0.3.0 (2023.0.3.0)
public bool HasParameter { get; }

Property Value

Type: Boolean
See Also