Owneat Technical Guide main Help

Class OrderLineItemCanceledEventHandler

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

public sealed class OrderLineItemCanceledEventHandler : INotificationHandler<OrderLineItemCanceledEvent>

Inheritance

object ← OrderLineItemCanceledEventHandler

Implements

INotificationHandler<OrderLineItemCanceledEvent\>

Inherited Members

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

Constructors

OrderLineItemCanceledEventHandler\(IUnitOfWork, IWebSocketService\)

public OrderLineItemCanceledEventHandler(IUnitOfWork unitOfWork, IWebSocketService webSocketService)

Parameters

unitOfWork IUnitOfWork

webSocketService IWebSocketService

Methods

Handle\(OrderLineItemCanceledEvent, CancellationToken\)

Handles a notification

public Task Handle(OrderLineItemCanceledEvent notification, CancellationToken cancellationToken)

Parameters

notification OrderLineItemCanceledEvent

The notification

cancellationToken CancellationToken

Cancellation token

Returns

Task

Last modified: 21 May 2024