|
|
@ -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; |
|
|
|