Class DecreaseOutstandingBalanceEventHandler
Namespace: Ordering.Domain.Aggregates.TableAggregate.Events
Assembly: Ordering.Domain.dll
public sealed class DecreaseOutstandingBalanceEventHandler : INotificationHandler<TableOutstandingBalanceDecreasedEvent>
Inheritance
object ← DecreaseOutstandingBalanceEventHandler
Implements
INotificationHandler<TableOutstandingBalanceDecreasedEvent\>
Inherited Members
object.Equals\(object?\), object.Equals\(object?, object?\), object.GetHashCode\(\), object.GetType\(\), object.ReferenceEquals\(object?, object?\), object.ToString\(\)
Constructors
DecreaseOutstandingBalanceEventHandler\(IWebSocketService\)
public DecreaseOutstandingBalanceEventHandler(IWebSocketService webSocketService)
Parameters
webSocketService IWebSocketService
Methods
Handle\(TableOutstandingBalanceDecreasedEvent, CancellationToken\)
Handles a notification
public Task Handle(TableOutstandingBalanceDecreasedEvent notification, CancellationToken cancellationToken)
Parameters
notification TableOutstandingBalanceDecreasedEvent
The notification
cancellationToken CancellationToken
Cancellation token
Returns
Last modified: 21 May 2024