PostSharp SDK 2023.0 / / Class Reference / Post­Sharp.​Sdk.​Aspect­Weaver.​Aspect­Weavers Namespace / Method­Level­Aspect­Weaver Class / Method­Level­Aspect­Weaver Constructor

MethodLevelAspectWeaver Constructor

Initializes a new MethodLevelAspectWeaver.

Namespace:  PostSharp.Sdk.AspectWeaver.AspectWeavers
Assembly:  PostSharp.Compiler.Engine (in PostSharp.Compiler.Engine.dll) Version: 2023.0.3.0 (2023.0.3.0)
Syntax
C#
protected MethodLevelAspectWeaver(
	AspectConfigurationAttribute defaultConfiguration,
	MulticastTargets validTargets
)

Parameters

defaultConfiguration
Type: AspectConfigurationAttribute
Default weaver configuration.
validTargets
Type: MulticastTargets
Kinds of code elements to which the current aspect can be applied.
See Also