Table of Contents

Class ContentRequest

Namespace
Quilt4Net.Toolkit.Features.Content
Assembly
Quilt4Net.Toolkit.dll

One key in a bulk content read — the same information a single-key GetAsync takes, so a key the server has not seen still materializes with the text its caller declared.

public sealed record ContentRequest : IEquatable<ContentRequest>
Inheritance
ContentRequest
Implements
Inherited Members

Properties

DefaultValue

Text to use if nothing is stored, and to seed the key with if it does not exist.

public required string DefaultValue { get; init; }

Property Value

string

Key

public required string Key { get; init; }

Property Value

string

Translations

Optional exact translations keyed by language name, e.g. { ["Swedish"] = "Ärende" }. Stored verbatim as authoritative when the key is first materialized, and those languages are skipped by AI translation. A name matching no configured language is ignored.

public IReadOnlyDictionary<string, string> Translations { get; init; }

Property Value

IReadOnlyDictionary<string, string>