Table of Contents

Struct HtmlResource

Namespace
DocWright.Formats.Html
Assembly
DocWright.Formats.Html.dll

The bytes and content type of a resource a host resolved on the reader's behalf.

public readonly struct HtmlResource : IEquatable<HtmlResource>
Implements
Inherited Members

Constructors

HtmlResource(byte[], string)

Initializes a resolved resource.

Properties

ContentType

Gets the content type.

Data

Gets the resource bytes.

Methods

Equals(HtmlResource)
Equals(object?)
GetHashCode()

Operators

operator ==(HtmlResource, HtmlResource)

Compares two resources for equality.

operator !=(HtmlResource, HtmlResource)

Compares two resources for inequality.