PostSharpAPI ReferencePost­Sharp.​Patterns.​DiagnosticsContext­Id­Generation­StrategyLazy­Global
Open sandboxFocus

ContextIdGenerationStrategy.LazyGlobal Field

The same as Global, but the Id property is generated lazily the first time it is being evaluated. This strategy is a bit slower than Global in cases where the Id property is always evaluated.

Namespace: PostSharp.Patterns.Diagnostics
Assembly: PostSharp.Patterns.Diagnostics.dll
Syntax
public const ContextIdGenerationStrategy LazyGlobal
Returns
Type Description
ContextIdGenerationStrategy