PostSharp6.2/API Reference/Post­Sharp.​Aspects.​Advices Namespace/Grouping­Advice Class

GroupingAdvice Class

Base class for all advices that are possibly composed of multiple advices that can be grouped together using the Master property.
Inheritance Hierarchy
System.Object
  System.Attribute
    PostSharp.Aspects.Advices.Advice
      PostSharp.Aspects.Advices.GroupingAdvice
        More...

Namespace:  PostSharp.Aspects.Advices
Assembly:  PostSharp (in PostSharp.dll) Version: 6.2.13.0 (6.2.13.0)
Syntax
C#
public abstract class GroupingAdvice : Advice

The GroupingAdvice type exposes the following members.

Constructors
  NameDescription
Protected methodGroupingAdvice
Initializes a new instance of the GroupingAdvice class
Properties
  NameDescription
Public propertyDescription
A human-readable description of the current advice.
(Inherited from Advice.)
Public propertyLinesOfCodeAvoided
Reduction in the code lines count achieved by applying the advice instance to one code element.
(Inherited from Advice.)
Public propertyMaster
Name of the master advice method. If this property is not set, the current method is itself the master of the group. Only master methods can define selectors (Pointcut) and dependencies (AspectDependencyAttribute).
Remarks
See Also
Inheritance Hierarchy