Show / Hide Table of Contents

Class GetHistoryByIdQueryHandler

Inheritance
object
GetHistoryByIdQueryHandler
Implements
IRequestHandler<GetHistoryByIdQuery, GetHistoryByIdResponse>
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.Queries.GetHistoryById
Assembly: NotifyHub.NotificationService.Application.dll
Syntax
public class GetHistoryByIdQueryHandler : IRequestHandler<GetHistoryByIdQuery, GetHistoryByIdResponse>

Constructors

| Edit this page View Source

GetHistoryByIdQueryHandler(INotificationLogRepository)

Declaration
public GetHistoryByIdQueryHandler(INotificationLogRepository repository)
Parameters
Type Name Description
INotificationLogRepository repository

Methods

| Edit this page View Source

Handle(GetHistoryByIdQuery, CancellationToken)

Handles a request

Declaration
public Task<GetHistoryByIdResponse> Handle(GetHistoryByIdQuery request, CancellationToken cancellationToken)
Parameters
Type Name Description
GetHistoryByIdQuery request

The request

CancellationToken cancellationToken

Cancellation token

Returns
Type Description
Task<GetHistoryByIdResponse>

Response from the request

Implements

MediatR.IRequestHandler<TRequest, TResponse>
  • Edit this page
  • View Source
In this article
Back to top Generated by DocFX