Table of Contents

SetCorrelationId Method

Definition

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

SetCorrelationId<T>(T, string)

Assigns a new correlationId to the request.

public static T SetCorrelationId<T>(this T request, string correlationId) where T : IMetadata

Parameters

request T

The IMetadata to extend.

correlationId string

The correlation identifier of the model.

Returns

T

A reference to request after the operation has completed.

Type Parameters

T

The model that implements the IMetadata interface.