GetCausationId Method
Definition
GetCausationId<T>(T)
Gets the string representation of the causation identifier from the request.
public static string GetCausationId<T>(this T request) where T : IMetadata
Parameters
requestTThe IMetadata to extend.
Returns
- string
The string representation of the causation identifier from the
request.
Type Parameters
TThe model that implements the IMetadata interface.