Table of Contents

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 Dto
context CallContext

Returns

Task

SendAsync(Dto, CallContext)

[OperationContract]
Task<Dto> SendAsync(Dto request, CallContext context = default)

Parameters

request Dto
context CallContext

Returns

Task<Dto>