Interface IIntentCatalog
- Namespace
- IntentSharp.Catalog
- Assembly
- IntentSharp.Catalog.dll
A source of intent definitions. Implementations load from files, databases or anything else, expose the current snapshot, and signal changes through a change token so hot reload needs no polling by callers.
public interface IIntentCatalog
- Extension Methods
Properties
Methods
- GetChangeToken()
A token that fires once when Current is replaced. Callers re-fetch the token after it fires.
- ReloadAsync(CancellationToken)
Loads (or reloads) now. Returns the new snapshot; content problems are reported in it rather than thrown.