Table of Contents

GetEventId Method

Definition

Namespace
Savvyio.Domain
Assemblies
Savvyio.Domain.dll
Source
src/Savvyio.Domain/DomainEventExtensions.cs

GetEventId<T>(T)

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

public static string GetEventId<T>(this T request) where T : IDomainEvent

Parameters

request T

The ITracedDomainEvent to extend.

Returns

string

The string representation of the event identifier from the request.

Type Parameters

T

The model that implements the ITracedDomainEvent interface.