Table of Contents

Class ContentCacheEntry

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

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

Key string

The content key.

Application string

The application it is cached for; empty for the shared one.

LanguageKey Guid

The language it is cached for.

Value string

The text.

ValidTo DateTime

When it stops being fresh.

IsDefault bool

The value is the fallback default, not one the server confirmed.

FallbackReason string

Why 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

string

FallbackReason

Why the server served another language's or stage's value, when it did.

public string FallbackReason { get; init; }

Property Value

string

IsDefault

The value is the fallback default, not one the server confirmed.

public bool IsDefault { get; init; }

Property Value

bool

Key

The content key.

public string Key { get; init; }

Property Value

string

LanguageKey

The language it is cached for.

public Guid LanguageKey { get; init; }

Property Value

Guid

ValidTo

When it stops being fresh.

public DateTime ValidTo { get; init; }

Property Value

DateTime

Value

The text.

public string Value { get; init; }

Property Value

string