API Reference
Class
HtmlArtifactReloadEvidence
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
This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.
Returned or exposed by
Accepted by parameters
- Method HtmlRoundTripScorer.Compare
- Method HtmlRoundTripScorer.Compare
Methods
public static HtmlArtifactReloadEvidence Failed(String artifactKind, String detail = null) #Returns:
HtmlArtifactReloadEvidenceCreates explicit failed reload evidence.
Parameters
- artifactKind System.String
- detail System.String = null
public static HtmlArtifactReloadEvidence Succeeded(String artifactKind, String reloadedHtml) #Returns:
HtmlArtifactReloadEvidenceCreates successful reload evidence from HTML exported after reopening the artifact.
Parameters
- artifactKind System.String
- reloadedHtml System.String
Inherited Methods
public override Boolean Equals(Object obj) #Returns:
BooleanInherited from Object
Parameters
- obj Object
Properties
public String ArtifactKind { get; } #Artifact kind, such as DOCX, XLSX, or PPTX.
public Boolean 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.