AspectWeaver Constructor |
Initializes a new AspectWeaver.
Namespace: PostSharp.Sdk.AspectWeaver
Assembly: PostSharp.Compiler.Engine (in PostSharp.Compiler.Engine.dll) Version: 2023.0.3.0 (2023.0.3.0)
C#
protected AspectWeaver( AspectConfigurationAttribute defaultConfiguration, ReflectionObjectBuilder reflectionObjectBuilder, MulticastTargets validTargets )
Parameters
- defaultConfiguration
- Type: AspectConfigurationAttribute
Default weaver configuration. - reflectionObjectBuilder
- Type: PostSharp.Sdk.AspectWeaver.ReflectionObjectBuilder
A ReflectionObjectBuilder able to emit instructions to load reflection objects compatible with the current aspect type. - validTargets
- Type: MulticastTargets
Kinds of elements of code to which this aspect can be applied.