Table of Contents

SetRequestId Method

Definition

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

SetRequestId<T>(T, string)

Assigns a new requestId to the request.

public static T SetRequestId<T>(this T request, string requestId) where T : IMetadata

Parameters

request T

The IMetadata to extend.

requestId string

The request 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.