Table of Contents

Class ContentCacheLanguageStatus

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

One language in the content cache (#144): how much is held, how much of it is defaults, and the last bulk load.

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

Constructors

ContentCacheLanguageStatus(Guid, int, int, DateTime?, ContentWarmUp)

One language in the content cache (#144): how much is held, how much of it is defaults, and the last bulk load.

public ContentCacheLanguageStatus(Guid LanguageKey, int Count, int Defaults, DateTime? FreshUntil, ContentWarmUp LastWarmUp)

Parameters

LanguageKey Guid

The language; Empty for the default language.

Count int

How many values are cached for it.

Defaults int

How many of them are the fallback default, not a value the server confirmed.

FreshUntil DateTime?

When the first of its values needs reloading; null when nothing is cached.

LastWarmUp ContentWarmUp

The last bulk load for the language; null when it has not had one.

Properties

Count

How many values are cached for it.

public int Count { get; init; }

Property Value

int

Defaults

How many of them are the fallback default, not a value the server confirmed.

public int Defaults { get; init; }

Property Value

int

FreshUntil

When the first of its values needs reloading; null when nothing is cached.

public DateTime? FreshUntil { get; init; }

Property Value

DateTime?

LanguageKey

The language; Empty for the default language.

public Guid LanguageKey { get; init; }

Property Value

Guid

LastWarmUp

The last bulk load for the language; null when it has not had one.

public ContentWarmUp LastWarmUp { get; init; }

Property Value

ContentWarmUp