AdviceGroupingKey Constructor |
Initializes a new AdviceGroupingKey.
Namespace: PostSharp.Sdk.AspectWeaver
Assembly: PostSharp.Compiler.Engine (in PostSharp.Compiler.Engine.dll) Version: 2023.0.3.0 (2023.0.3.0)
C#
public AdviceGroupingKey( string key, bool isMaster )
Parameters
- key
- Type: System.String
The grouping key. Advices with the same key are grouped into the same AdviceGroup. null is equivalent to an empty string. - isMaster
- Type: System.Boolean
true if the advice is the master of its group, otherwise false. There can be a single master per group.