Show / Hide Table of Contents

Class GetAllHistoryQueryHandler

Обработчик для GetAllHistoryQuery

Inheritance
object
GetAllHistoryQueryHandler
Implements
IRequestHandler<GetAllHistoryQuery, GetHistoryResponse>
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.GetAllHistory
Assembly: NotifyHub.NotificationService.Application.dll
Syntax
public class GetAllHistoryQueryHandler : IRequestHandler<GetAllHistoryQuery, GetHistoryResponse>

Constructors

| Edit this page View Source

GetAllHistoryQueryHandler(INotificationLogRepository)

Обработчик для GetAllHistoryQuery

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

Methods

| Edit this page View Source

Handle(GetAllHistoryQuery, CancellationToken)

Handles a request

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

The request

CancellationToken cancellationToken

Cancellation token

Returns
Type Description
Task<GetHistoryResponse>

Response from the request

Implements

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