PostSharp 2023.0 / / Post­Sharp Documentation / API Reference / Post­Sharp.​Aspects Namespace / Aspect­Instance Class / Aspect­Instance Properties / Aspect­Instance.​Represent­As­Standalone Property

AspectInstance.RepresentAsStandalone Property

Determines whether the AspectInstance should be represented as a stand-alone instance in PostSharp Tools for Visual Studio. If false, the current AspectInstance will be not be represented as a standalone node, and its advices will be merged with the ones provided by the parent aspect (implementing IAspectProvider). The default value is false.

Namespace:  PostSharp.Aspects
Assembly:  PostSharp (in PostSharp.dll) Version: 2023.0.3.0 (2023.0.3.0)
public bool RepresentAsStandalone { get; set; }

Property Value

Type: Boolean
See Also