Table of Contents

GetCorrelationId Method

Definition

Namespace
Savvyio
Assemblies
Savvyio.Core.dll
Source
src/Savvyio.Core/MetadataExtensions.cs

GetCorrelationId<T>(T)

Gets the string representation of the correlation identifier from the request.

public static string GetCorrelationId<T>(this T request) where T : IMetadata

Parameters

request T

The IMetadata to extend.

Returns

string

The string representation of the correlation identifier from the request.

Type Parameters

T

The model that implements the IMetadata interface.