Show / Hide Table of Contents

Class MessageSentDomainEventHandler

Inheritance
object
MessageSentDomainEventHandler
Implements
INotificationHandler<MessageSentDomainEvent>
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: NotifyHub.NotificationService.Application.Features.Events
Assembly: NotifyHub.NotificationService.Application.dll
Syntax
public class MessageSentDomainEventHandler : INotificationHandler<MessageSentDomainEvent>

Constructors

| Edit this page View Source

MessageSentDomainEventHandler(ILogger<MessageSentDomainEventHandler>, IMapper, INotificationLogRepository)

Declaration
public MessageSentDomainEventHandler(ILogger<MessageSentDomainEventHandler> logger, IMapper mapper, INotificationLogRepository repository)
Parameters
Type Name Description
ILogger<MessageSentDomainEventHandler> logger
IMapper mapper
INotificationLogRepository repository

Methods

| Edit this page View Source

Handle(MessageSentDomainEvent, CancellationToken)

Handles a notification

Declaration
public Task Handle(MessageSentDomainEvent messageEvent, CancellationToken cancellationToken)
Parameters
Type Name Description
MessageSentDomainEvent messageEvent
CancellationToken cancellationToken

Cancellation token

Returns
Type Description
Task

Implements

MediatR.INotificationHandler<TNotification>
  • Edit this page
  • View Source
In this article
Back to top Generated by DocFX