1234567891011121314151617181920212223242526272829303132333435363738394041424344 |
- using MediatR;
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Text;
- using System.Threading.Tasks;
- namespace Hotline.Application.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();
- }
- }
|