PostSharp SDK 2023.0 / / Class Reference / Post­Sharp.​Sdk.​Aspect­Weaver Namespace / Advice­Weaver Class / Advice­Weaver Properties / Advice­Weaver.​Requires­Runtime­Instance Property

AdviceWeaver.RequiresRuntimeInstance Property

Determines whether the current AdviceWeaver requires an instance of the aspect at runtime.

Namespace:  PostSharp.Sdk.AspectWeaver
Assembly:  PostSharp.Compiler.Engine (in PostSharp.Compiler.Engine.dll) Version: 2023.0.3.0 (2023.0.3.0)
public bool RequiresRuntimeInstance { get; protected set; }

Property Value

Type: Boolean

This property is true by default and must be overwritten in the constructor or the Initialize() method.

See Also