PostSharp SDK 6.10 / / Class Reference / Post­Sharp.​Sdk.​Aspect­Weaver Namespace / IPointcut­Engine Interface / IPointcut­Engine Methods / IPointcut­Engine.​Initialize Method

IPointcutEngine.Initialize Method

Initializes the current pointcut engine.

Namespace:  PostSharp.Sdk.AspectWeaver
Assembly:  PostSharp.Compiler.Engine (in PostSharp.Compiler.Engine.dll) Version: 6.10.14.0 (6.10.14.0)
Syntax
C#
bool Initialize(
	AspectWeaver aspectWeaver,
	IAnnotationInstance pointcutAnnotation,
	AdviceInfo advice,
	MulticastTargets validTargets,
	MulticastAttributes validAttributes
)

Parameters

aspectWeaver
Type: PostSharp.Sdk.AspectWeaver.AspectWeaver
The parent AspectWeaver.
pointcutAnnotation
Type: PostSharp.Sdk.CodeModel.IAnnotationInstance
Annotation (custom attribute) representing the pointcut that will be evaluated by the current engine.
advice
Type: PostSharp.Sdk.AspectWeaver.AdviceInfo
validTargets
Type: MulticastTargets
Kinds of elements of code that the pointcut is allowed to return.
validAttributes
Type: MulticastAttributes
Attributes of elements of code that the pointcut is allowed to return.

Return Value

Type: Boolean

[Missing <returns> documentation for "M:PostSharp.Sdk.AspectWeaver.IPointcutEngine.Initialize(PostSharp.Sdk.AspectWeaver.AspectWeaver,PostSharp.Sdk.CodeModel.IAnnotationInstance,PostSharp.Sdk.AspectWeaver.AdviceInfo,PostSharp.Extensibility.MulticastTargets,PostSharp.Extensibility.MulticastAttributes)"]

See Also