Skip to content

IJsonDocument.CachedWorkspaceGeneration Property

Definition

Namespace: Corvus.Text.Json.Internal
Assembly: Corvus.Text.Json.dll
Source: IJsonDocument.cs

CachedWorkspaceGeneration()

Gets or sets the workspace generation at the time of caching.

public abstract int CachedWorkspaceGeneration { get; set; }

Returns

int

Remarks

Guards against stale indices after workspace reset/reuse.

Applies To

Product Versions
.NET 9, 10
.NET Standard 2.0, 2.1

Collaborate with us on GitHub

The source for this content can be found on GitHub, where you can also create and review issues and pull requests.

Open an issue