Documentation
Table of Contents

Method AssessAsync

Namespace
IntentSharp.Documents
Assembly
IntentSharp.dll

AssessAsync(DocumentId, string?, string, CancellationToken)

Assesses a proposed text for the document against its running text.

ValueTask<EditImpact> AssessAsync(DocumentId id, string? current, string proposed, CancellationToken ct = default)

Parameters

id DocumentId

The document being edited.

current string

The running text, or null when the document is new or has no running version.

proposed string

The text proposed as the new version.

ct CancellationToken

Cancels the assessment.

Returns

ValueTask<EditImpact>

Whether the proposed text loads, its problems, what it changes and whether it widens a security item.