Class WellKnownCausationProperties
- Namespace
- Cratis.Chronicle.Concepts.Patterns
- Assembly
- Cratis.Chronicle.dll
Holds the causation property names used to identify actions and requests.
public static class WellKnownCausationProperties
- Inheritance
-
WellKnownCausationProperties
- Inherited Members
Remarks
A causation's type says what kind of link it is - an HTTP request, a reactor, a command - and every command shares the one type. What behavior is mined by is which command, so mining prefers a property naming it and falls back to the type when nothing named itself. The names are a convention shared with the layer above Chronicle: Arc's command pipeline records them, and anything else that executes named work can too. The raw request path is retained for other causation consumers but is not read by pattern mining.
Fields
CommandType
The property naming the command a causation link represents.
public const string CommandType = "commandType"
Field Value
ReactorId
The property naming the Reactor a causation link represents.
public const string ReactorId = "ReactorId"
Field Value
Route
The property containing the actual request path of an ASP.NET request causation link.
public const string Route = "route"
Field Value
RouteTemplate
The property containing the matched route template of an ASP.NET request causation link.
public const string RouteTemplate = "routeTemplate"