CQRS.NET  2.2
A lightweight enterprise framework to write CQRS, event-sourced and micro-service applications in hybrid multi-datacentre, on-premise and Azure environments.
Cqrs.Services.ServiceResponseWithResultData< TResultData > Class Template Reference

A response message envelope that holds request state, correlation information as well as the response data returned from making a public API request. More...

+ Inheritance diagram for Cqrs.Services.ServiceResponseWithResultData< TResultData >:

Public Member Functions

 ServiceResponseWithResultData ()
 Instantiate a new instance of the ServiceResponseWithResultData<TResultData> class. More...
 
 ServiceResponseWithResultData (TResultData resultData)
 Instantiate a new instance of the ServiceResponseWithResultData<TResultData> class providing resultData . More...
 
- Public Member Functions inherited from Cqrs.Services.ServiceResponse
 ServiceResponse ()
 Instantiate a new instance of the ServiceResponse class. More...
 

Properties

TResultData ResultData [get, set]
 The data returned from making a public API request. More...
 
- Properties inherited from Cqrs.Services.ServiceResponse
ServiceResponseStateType State [get, set]
 The state of the request. More...
 
Guid CorrelationId [get, set]
 The correlation id used to group together events and notifications. More...
 
double Version [get, set]
 The version of the data being returned More...
 
- Properties inherited from Cqrs.Services.IVersionedServiceResponse
double Version [get, set]
 The version of the data being returned More...
 
- Properties inherited from Cqrs.Services.IServiceResponse
ServiceResponseStateType State [get, set]
 The state of the request. More...
 
Guid CorrelationId [get, set]
 The correlation id used to group together events and notifications. More...
 
- Properties inherited from Cqrs.Services.IServiceResponseWithResultData< TResultData >
TResultData ResultData [get, set]
 The data returned from making a public API request. More...
 

Detailed Description

A response message envelope that holds request state, correlation information as well as the response data returned from making a public API request.

Template Parameters
TResultDataThe type of data returned from making a public API request.