Owneat Technical Guide main Help

Class OrderPlacedEventHandler

Namespace: Ordering.Domain.Aggregates.Customer.Events
Assembly: Ordering.Domain.dll

public sealed class OrderPlacedEventHandler : INotificationHandler<OrderPlacedEvent>

Inheritance

object ← OrderPlacedEventHandler

Implements

INotificationHandler<OrderPlacedEvent\>

Inherited Members

object.Equals\(object?\), object.Equals\(object?, object?\), object.GetHashCode\(\), object.GetType\(\), object.ReferenceEquals\(object?, object?\), object.ToString\(\)

Constructors

OrderPlacedEventHandler\(IWebSocketService\)

public OrderPlacedEventHandler(IWebSocketService webSocketService)

Parameters

webSocketService IWebSocketService

Methods

Handle\(OrderPlacedEvent, CancellationToken\)

Handles a notification

public Task Handle(OrderPlacedEvent notification, CancellationToken cancellationToken)

Parameters

notification OrderPlacedEvent

The notification

cancellationToken CancellationToken

Cancellation token

Returns

Task

Last modified: 21 May 2024