This documentation is also published as Markdown for efficient machine reading: the whole site is indexed at /llms.txt, and every page has a clean Markdown copy under /_llms/. These are generated from the same source and cost far fewer tokens to read than this rendered HTML.

Skip to main content Skip to navigation

ArtifactContent Pennington.Artifacts

The bytes and content type for one resolved artifact request.

Properties

Bytes byte[]
Response body, served in dev and written verbatim by the static build.
ContentType string
Full content-type header value (e.g. application/json; charset=utf-8).

Constructors

ArtifactContent

#
public ArtifactContent(byte[] Bytes, string ContentType)

The bytes and content type for one resolved artifact request.

Parameters

Bytes byte[]
Response body, served in dev and written verbatim by the static build.
ContentType string
Full content-type header value (e.g. application/json; charset=utf-8).

Pennington.Artifacts.ArtifactContent

namespace Pennington.Artifacts;

/// The bytes and content type for one resolved artifact request.
public record ArtifactContent
{
    /// The bytes and content type for one resolved artifact request.
    
public ArtifactContent(byte[] Bytes, string ContentType)
; /// Response body, served in dev and written verbatim by the static build.
public byte[] Bytes { get; set; }
/// Full content-type header value (e.g. application/json; charset=utf-8).
public string ContentType { get; set; }
}