Skip to content
ChartForgeX
Class

HtmlAssetFile

ChartForgeX.Interactivity.Html

Namespace
ChartForgeX.Interactivity.Html
Assembly
ChartForgeX.Interactivity.Html
Modifiers
sealed

One shared interactive runtime file. The file name carries a content hash, so identical runtimes resolve to the same file across every page of a bundle and a changed runtime never collides with a cached copy.

Inheritance

  • object
  • HtmlAssetFile

Usage

Explore 25 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 byte[] GetBytes() #

Returns the bytes a host writes or serves for this file: the UTF-8 content without a byte order mark.

Returns

byte[] A new array on each call.

Properties

public string FileName { get; } #

Gets the content-addressed file name, for example cfx-interactive.1a2b3c4d5e6f.js.

public string Content { get; } #

Gets the file content (UTF-8, no byte order mark when written).

public string ContentType { get; } #

Gets the MIME type: text/javascript or text/css.

public string Integrity { get; } #

Gets the Subresource Integrity value (sha384-…) of the UTF-8 content.