PostSharp SDK 6.9 / / Class Reference / Post­Sharp.​Sdk.​Aspect­Weaver Namespace / Aspect­Weaver Class / Aspect­Weaver Methods / Aspect­Weaver.​Create­Aspect­Weaver­Instance Method

AspectWeaver.CreateAspectWeaverInstance Method

Creates a new AspectWeaverInstance for a given aspect instance.

Namespace:  PostSharp.Sdk.AspectWeaver
Assembly:  PostSharp.Compiler.Engine (in PostSharp.Compiler.Engine.dll) Version: 6.9.11.0 (6.9.11.0)
Syntax
C#
protected abstract AspectWeaverInstance CreateAspectWeaverInstance(
	AspectInstanceInfo aspectInstanceInfo
)

Parameters

aspectInstanceInfo
Type: PostSharp.Sdk.AspectWeaver.AspectInstanceInfo
Information about the aspect instance (or aspect usage).

Return Value

Type: AspectWeaverInstance
A AspectWeaverInstance able to process the aspect instance in aspectInstanceInfo.
See Also