Method GetActiveAsync
- Namespace
- IntentSharp.Mapping
- Assembly
- IntentSharp.dll
GetActiveAsync(string, string, CancellationToken)
The active revision of a key, or null when the key has none. A retired or pending revision is never returned.
public Task<CompiledMapping?> GetActiveAsync(string @namespace, string key, CancellationToken cancellationToken = default)
Parameters
namespacestringThe namespace.
keystringThe mapping key.
cancellationTokenCancellationTokenCancels the read.
Returns
- Task<CompiledMapping>