123456789101112131415161718192021222324252627282930313233343536373839 |
- using MediatR;
- namespace Hotline.Tests.Mock;
- public class MediatorMock : IMediator
- {
- public IAsyncEnumerable<TResponse> CreateStream<TResponse>(IStreamRequest<TResponse> request, CancellationToken cancellationToken = default)
- {
- throw new NotImplementedException();
- }
- public IAsyncEnumerable<object?> CreateStream(object request, CancellationToken cancellationToken = default)
- {
- throw new NotImplementedException();
- }
- public Task Publish(object notification, CancellationToken cancellationToken = default)
- {
- throw new NotImplementedException();
- }
- public async Task Publish<TNotification>(TNotification notification, CancellationToken cancellationToken = default) where TNotification : INotification
- {
- }
- public Task<TResponse> Send<TResponse>(IRequest<TResponse> request, CancellationToken cancellationToken = default)
- {
- throw new NotImplementedException();
- }
- public Task Send<TRequest>(TRequest request, CancellationToken cancellationToken = default) where TRequest : IRequest
- {
- throw new NotImplementedException();
- }
- public Task<object?> Send(object request, CancellationToken cancellationToken = default)
- {
- throw new NotImplementedException();
- }
- }
|