Class
HtmlArtifactReloadEvidence
OfficeIMO.Html
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.
Returned or exposed by 2
Accepted by parameters 1
- Method HtmlRoundTripScorer.Compare
Methods
public static HtmlArtifactReloadEvidence Failed(string artifactKind, string? detail = null) #Creates explicit failed reload evidence.
Parameters
- artifactKind string
- detail string? = null
Returns
HtmlArtifactReloadEvidencepublic static HtmlArtifactReloadEvidence Succeeded(string artifactKind, string reloadedHtml) #Creates successful reload evidence from HTML exported after reopening the artifact.
Parameters
- artifactKind string
- reloadedHtml string
Returns
HtmlArtifactReloadEvidenceInherited Methods
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.