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