Owneat Technical Guide main Help

Class ChangeLineItemsQuantityEventHandler

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

public sealed class ChangeLineItemsQuantityEventHandler : INotificationHandler<ChangeLineItemsQuantityEvent>

Inheritance

object ← ChangeLineItemsQuantityEventHandler

Implements

INotificationHandler<ChangeLineItemsQuantityEvent\>

Inherited Members

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

Constructors

ChangeLineItemsQuantityEventHandler\(ITableRepository, IUnitOfWork\)

public ChangeLineItemsQuantityEventHandler(ITableRepository tableRepository, IUnitOfWork unitOfWork)

Parameters

tableRepository ITableRepository

unitOfWork IUnitOfWork

Methods

Handle\(ChangeLineItemsQuantityEvent, CancellationToken\)

Handles a notification

public Task Handle(ChangeLineItemsQuantityEvent notification, CancellationToken cancellationToken)

Parameters

notification ChangeLineItemsQuantityEvent

The notification

cancellationToken CancellationToken

Cancellation token

Returns

Task

Last modified: 21 May 2024