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

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)
Syntax
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.
See Also