Class ContentItem
- Namespace
- Quilt4Net.Toolkit.Features.FeatureToggle
- Assembly
- Quilt4Net.Toolkit.dll
A single resolved content entry (key and rendered value) within a GetAllContentResponse.
public record ContentItem : IEquatable<ContentItem>
- Inheritance
-
ContentItem
- Implements
- Inherited Members
Properties
FallbackReason
Why Value is not in the requested language, when it is not.
public ContentFallbackReason FallbackReason { get; init; }
Property Value
IsStageFallback
True when the value came from a lower stage than the caller's environment maps to.
public bool IsStageFallback { get; init; }
Property Value
Key
Content key.
public required string Key { get; init; }
Property Value
ServedLanguageKey
The language Value is actually in. Guid.Empty is the default language;
null means the server did not report it.
public Guid? ServedLanguageKey { get; init; }
Property Value
- Guid?
Remarks
The bulk path carries the same metadata as the single-key path deliberately. Warm-up is on by default, so most rendered content arrives through here — omit it and the fallback indicator would be blank for nearly everything, appearing only after a cache entry expired.
Value
Rendered content value for the requested language (server-rendered, same as the single-key path).
public required string Value { get; init; }