PostSharp SDK 6.10 / / 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: 6.10.14.0 (6.10.14.0)
Syntax
C#
public bool RequiresRuntimeInstance { get; protected set; }

Property Value

Type: Boolean
Remarks

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

See Also