IMediator interface new methods implemented.
This commit is contained in:
parent
7f74c9e9f8
commit
cabf1d7289
@ -118,6 +118,16 @@ public class OrderingContextDesignFactory : IDesignTimeDbContextFactory<Ordering
|
||||
|
||||
class NoMediator : IMediator
|
||||
{
|
||||
public IAsyncEnumerable<TResponse> CreateStream<TResponse>(IStreamRequest<TResponse> request, CancellationToken cancellationToken = default)
|
||||
{
|
||||
return default(IAsyncEnumerable<TResponse>);
|
||||
}
|
||||
|
||||
public IAsyncEnumerable<object?> CreateStream(object request, CancellationToken cancellationToken = default)
|
||||
{
|
||||
return default(IAsyncEnumerable<object?>);
|
||||
}
|
||||
|
||||
public Task Publish<TNotification>(TNotification notification, CancellationToken cancellationToken = default(CancellationToken)) where TNotification : INotification
|
||||
{
|
||||
return Task.CompletedTask;
|
||||
|
Loading…
x
Reference in New Issue
Block a user