PostSharp SDK 6.10 / / 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: 6.10.14.0 (6.10.14.0)
Syntax
C#
public bool HasParameter { get; }

Property Value

Type: Boolean
See Also