Skip to main content

Search OfficeIMO

Enter a topic, API type, or PowerShell command.

Documentation Search all OfficeIMO/
Class

HtmlArtifactReloadEvidence

OfficeIMO.Html

Namespace
OfficeIMO.Html
Assembly
OfficeIMO.Html
Source revision
be6c300e4ab1 with working tree changes
Modifiers
sealed

Evidence captured after saving, reopening, and exporting a native artifact back to HTML. The scorer compares the reloaded export with the original source instead of trusting a save call alone.

Inheritance

  • object
  • HtmlArtifactReloadEvidence

Usage

Explore 3 API references to this type

This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.

Accepted by parameters 1

Methods

public static HtmlArtifactReloadEvidence Failed(string artifactKind, string? detail = null) #

Creates explicit failed reload evidence.

Parameters

artifactKind string required
detail string? = null optional
public static HtmlArtifactReloadEvidence Succeeded(string artifactKind, string reloadedHtml) #

Creates successful reload evidence from HTML exported after reopening the artifact.

Parameters

artifactKind string required
reloadedHtml string required

Properties

public string ArtifactKind { get; } #

Artifact kind, such as DOCX, XLSX, or PPTX.

public bool ReloadSucceeded { get; } #

Whether the artifact was successfully reopened.

public string? ReloadedHtml { get; } #

HTML exported from the reopened artifact when reload succeeded.

public string? Detail { get; } #

Optional caller diagnostic for failed reload evidence.