Table of Contents

Interface IResponder<TResponse>

Namespace
PushTechnology.ClientInterface.Client.Features
Assembly
Diffusion.Client.dll

Responder interface to dispatch responses to requests.

public interface IResponder<TResponse>

Type Parameters

TResponse

The response type.

Remarks

Since 6.1

Methods

Reject(string)

Rejects the request.

void Reject(string message)

Parameters

message string

Context message to be contained in the rejection.

Respond(TResponse)

Dispatches a response to a request.

void Respond(TResponse response)

Parameters

response TResponse

Response to dispatch.

Exceptions

ArgumentNullException

If the argument is null.

InvalidCastException

If the response object is not of required type.