GroupingAdvice Class |
Base class for all advices that are possibly composed of
multiple advices that can be grouped together using the Master
property.
System.Object
System.Attribute
PostSharp.Aspects.Advices.Advice
PostSharp.Aspects.Advices.GroupingAdvice
More...
System.Attribute
PostSharp.Aspects.Advices.Advice
PostSharp.Aspects.Advices.GroupingAdvice
More...
Namespace: PostSharp.Aspects.Advices
Assembly: PostSharp (in PostSharp.dll) Version: 2023.0.3.0 (2023.0.3.0)
C#
public abstract class GroupingAdvice : Advice
The GroupingAdvice type exposes the following members.
Name | Description | |
---|---|---|
GroupingAdvice | Initializes a new instance of the GroupingAdvice class |
Name | Description | |
---|---|---|
Description |
A human-readable description of the current advice.
(Inherited from Advice.) | |
LinesOfCodeAvoided |
Reduction in the code lines count achieved by applying the advice instance to one code element.
(Inherited from Advice.) | |
Master |
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).
|
Reference
System.Object
System.Attribute
PostSharp.Aspects.Advices.Advice
PostSharp.Aspects.Advices.GroupingAdvice
PostSharp.Aspects.Advices.LocationValidationAdvice
PostSharp.Aspects.Advices.OnEventAddHandlerAdvice
PostSharp.Aspects.Advices.OnEventInvokeHandlerAdvice
PostSharp.Aspects.Advices.OnEventRemoveHandlerAdvice
PostSharp.Aspects.Advices.OnInstanceLocationInitializedAdvice
PostSharp.Aspects.Advices.OnLocationGetValueAdvice
PostSharp.Aspects.Advices.OnLocationSetValueAdvice
PostSharp.Aspects.Advices.OnMethodBoundaryAdvice
PostSharp.Aspects.Advices.OnMethodInvokeBaseAdvice
System.Attribute
PostSharp.Aspects.Advices.Advice
PostSharp.Aspects.Advices.GroupingAdvice
PostSharp.Aspects.Advices.LocationValidationAdvice
PostSharp.Aspects.Advices.OnEventAddHandlerAdvice
PostSharp.Aspects.Advices.OnEventInvokeHandlerAdvice
PostSharp.Aspects.Advices.OnEventRemoveHandlerAdvice
PostSharp.Aspects.Advices.OnInstanceLocationInitializedAdvice
PostSharp.Aspects.Advices.OnLocationGetValueAdvice
PostSharp.Aspects.Advices.OnLocationSetValueAdvice
PostSharp.Aspects.Advices.OnMethodBoundaryAdvice
PostSharp.Aspects.Advices.OnMethodInvokeBaseAdvice