Class ServiceResponseWithResultData<TResultData>
A IServiceResponse that holds request state, correlation information as well as the response data returned from making a public API request.
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Cqrs.Services
Assembly: Cqrs.dll
Syntax
[Serializable]
[DataContract]
public class ServiceResponseWithResultData<TResultData> : ServiceResponse, IVersionedServiceResponse, IServiceResponseWithResultData<TResultData>, IServiceResponse
Type Parameters
Name | Description |
---|---|
TResultData | The System.Type of data returned from making a public API request. |
Constructors
ServiceResponseWithResultData()
Instantiate a new instance of the ServiceResponseWithResultData<TResultData> class.
Declaration
public ServiceResponseWithResultData()
ServiceResponseWithResultData(TResultData)
Instantiate a new instance of the ServiceResponseWithResultData<TResultData> class providing resultData
.
Declaration
public ServiceResponseWithResultData(TResultData resultData)
Parameters
Type | Name | Description |
---|---|---|
TResultData | resultData |
Properties
ResultData
The data returned from making a public API request.
Declaration
[DataMember]
public TResultData ResultData { get; set; }
Property Value
Type | Description |
---|---|
TResultData |