Namespace Quilt4Net.Toolkit.Features.Content
Classes
- ContentCacheEntry
One cached content value, for looking it up on a status page.
- ContentCacheLanguageStatus
One language in the content cache (#144): how much is held, how much of it is defaults, and the last bulk load.
- ContentRequest
One key in a bulk content read — the same information a single-key
GetAsynctakes, so a key the server has not seen still materializes with the text its caller declared.
- ContentResult
A resolved content value together with its provenance.
- ContentWarmUp
A bulk load of one language's content.
Interfaces
- IContentWriteService
Re-assert content the server already owns — the supported way to change a key's text when changing the literal in code no longer does anything.
Enums
- ContentFallbackReason
Why a content value is not in the language that was asked for.
Distinct from ContentSource, which says where the value was fetched from (server, cache, fallback default). This says what the value is: a request can be a fresh server hit and still be the wrong language.
The question this exists to answer is whether calling again later could do better. Use
ContentResult.CanImproverather than switching on this directly when that is all you need.
- ContentSource
Where a resolved content value actually came from. Surfaced so a consumer can tell a real server value apart from a fallback — the distinction the toolkit has always resolved internally but previously only wrote to the Debug log.