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

AdviceGroupingKey Class

Determines how an advice annotation should be mapped to an AdviceGroup. Result of the method GetGroupingKey(AdviceInfo).
Inheritance Hierarchy
System.Object
  PostSharp.Sdk.AspectWeaver.AdviceGroupingKey

Namespace:  PostSharp.Sdk.AspectWeaver
Assembly:  PostSharp.Compiler.Engine (in PostSharp.Compiler.Engine.dll) Version: 6.7.10.0 (6.7.10.0)
Syntax
C#
public sealed class AdviceGroupingKey

The AdviceGroupingKey type exposes the following members.

Constructors
  NameDescription
Public methodAdviceGroupingKey
Initializes a new AdviceGroupingKey.
Properties
  NameDescription
Public propertyIsMaster
Determines whether the advice is the master of its AdviceGroup. There can be a single master per AdviceGroup.
Public propertyKey
Gets the grouping key.
Methods
  NameDescription
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
See Also