PostSharp SDK 2023.0 / / Class Reference / Post­Sharp.​Sdk.​Aspect­Weaver Namespace / Advice­Weaver Class / Advice­Weaver Methods / Advice­Weaver.​Create­Advice­Group Method

AdviceWeaver.CreateAdviceGroup Method

Creates an empty AdviceGroup where advices handled by the current AdviceWeaver will be added.

Namespace:  PostSharp.Sdk.AspectWeaver
Assembly:  PostSharp.Compiler.Engine (in PostSharp.Compiler.Engine.dll) Version: 2023.0.3.0 (2023.0.3.0)
Syntax
C#
protected abstract AdviceGroup CreateAdviceGroup()

Return Value

Type: AdviceGroup
A new AdviceGroup.
See Also