API Reference
Class
HtmlConversionResult`1
Shared result contract for HTML conversions that produce a native target artifact.
Inheritance
- Object
- HtmlConversionResult`1
Type Parameters
- T
- Value produced by the conversion.
Methods
public T RequireNoLoss() #Returns:
TReturns the native artifact only when conversion completed successfully and without approximation, omission, or failure diagnostics.
public T RequireValue() #Returns:
TReturns the native artifact when conversion succeeded, or throws a structured conversion exception.
Inherited Methods
public override Boolean Equals(Object obj) #Returns:
BooleanInherited from Object
Parameters
- obj Object
Properties
public T Value { get; } #Value produced by the conversion.
public HtmlConversionReport Report { get; } #Diagnostics and fidelity outcome for this conversion.
public Boolean Succeeded { get; } #Whether conversion completed without an error diagnostic.
public Boolean HasLoss { get; } #Whether the conversion approximated, omitted, or failed any source content.