Table of Contents

GetTimestamp Method

Definition

Namespace
Savvyio.EventDriven
Assemblies
Savvyio.EventDriven.dll
Source
src/Savvyio.EventDriven/IntegrationEventExtensions.cs

GetTimestamp<T>(T)

Gets the DateTime value of the timestamp from the request.

public static DateTime GetTimestamp<T>(this T request) where T : IIntegrationEvent

Parameters

request T

The IIntegrationEvent to extend.

Returns

DateTime

The DateTime value of the timestamp from the request.

Type Parameters

T

The model that implements the IIntegrationEvent interface.