Interface IDtoService
- Namespace
- DMediatR
- Assembly
- DMediatR.dll
Code-first gRPC service for sending a MediatR IRequest to the remote IRequestHandler.
[ServiceContract]
public interface IDtoService
Methods
PublishAsync(Dto, CallContext)
[OperationContract]
Task PublishAsync(Dto notification, CallContext context = default)
Parameters
notification
Dtocontext
CallContext
Returns
SendAsync(Dto, CallContext)
[OperationContract]
Task<Dto> SendAsync(Dto request, CallContext context = default)
Parameters
request
Dtocontext
CallContext