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)
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.