PostSharp SDK 6.10 / / Class Reference / Post­Sharp.​Sdk.​Aspect­Weaver Namespace / Advice­Grouping­Key Class / Advice­Grouping­Key Constructor

AdviceGroupingKey Constructor

Initializes a new AdviceGroupingKey.

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 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.
See Also