Class ContentCacheEntry
One cached content value, for looking it up on a status page.
public sealed record ContentCacheEntry : IEquatable<ContentCacheEntry>
- Inheritance
-
ContentCacheEntry
- Implements
- Inherited Members
Constructors
ContentCacheEntry(string, string, Guid, string, DateTime, bool, string)
One cached content value, for looking it up on a status page.
public ContentCacheEntry(string Key, string Application, Guid LanguageKey, string Value, DateTime ValidTo, bool IsDefault, string FallbackReason)
Parameters
KeystringThe content key.
ApplicationstringThe application it is cached for; empty for the shared one.
LanguageKeyGuidThe language it is cached for.
ValuestringThe text.
ValidToDateTimeWhen it stops being fresh.
IsDefaultboolThe value is the fallback default, not one the server confirmed.
FallbackReasonstringWhy the server served another language's or stage's value, when it did.
Properties
Application
The application it is cached for; empty for the shared one.
public string Application { get; init; }
Property Value
FallbackReason
Why the server served another language's or stage's value, when it did.
public string FallbackReason { get; init; }
Property Value
IsDefault
The value is the fallback default, not one the server confirmed.
public bool IsDefault { get; init; }
Property Value
Key
The content key.
public string Key { get; init; }
Property Value
LanguageKey
The language it is cached for.
public Guid LanguageKey { get; init; }
Property Value
ValidTo
When it stops being fresh.
public DateTime ValidTo { get; init; }
Property Value
Value
The text.
public string Value { get; init; }