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