Class CommandContextKeys

Namespace
Cratis.Arc.Commands
Assembly
Cratis.Arc.Core.dll

Provider-neutral keys for values held on a CommandContext.

public static class CommandContextKeys
Inheritance
CommandContextKeys
Inherited Members

Fields

ResolvedKey

The key for the provider-neutral resolved key in the command context values.

public const string ResolvedKey = "resolvedKey"

Field Value

string

Remarks

The resolved key is the command's key expressed as a plain string, independent of any backing store. A provider that owns the key resolution (for example the Chronicle integration, which resolves an event source id) writes it so that a read model backing provider — which need not depend on the resolving provider — can load a read model by the same key.