KlusterKite
0.0.0
A framework to create scalable and redundant services based on awesome Akka.Net project.
|
Standard response from the
request More...
Public Member Functions | |
CrudActionResponse () | |
Initializes a new instance of the CrudActionResponse<TData> class. More... | |
Static Public Member Functions | |
static CrudActionResponse< TData > | Error (Exception exception, byte[] extraData) |
Creates a failed response More... | |
static CrudActionResponse< TData > | Success (TData data, byte[] extraData) |
Creates a success response More... | |
Properties | |
TData | Data [get, set] |
Gets or sets the object itself. More... | |
Exception | Exception [get, set] |
Gets or sets the exception data in case of failure More... | |
byte [] | ExtraData [get, set] |
Gets or sets some extra data, that was sent with the request More... | |
Standard response from the
request
TData | The type of entity |
Definition at line 20 of file CrudActionResponse.cs.
Initializes a new instance of the CrudActionResponse<TData> class.
Definition at line 26 of file CrudActionResponse.cs.
|
static |
Creates a failed response
exception | The failure exception |
extraData | Some extra data, that was sent with the request |
Definition at line 54 of file CrudActionResponse.cs.
|
static |
Creates a success response
data | The actual entity data |
extraData | Some extra data, that was sent with the request |
Definition at line 69 of file CrudActionResponse.cs.
|
getset |
Gets or sets the object itself.
Definition at line 34 of file CrudActionResponse.cs.
|
getset |
Gets or sets the exception data in case of failure
Definition at line 40 of file CrudActionResponse.cs.
|
getset |
Gets or sets some extra data, that was sent with the request
Definition at line 46 of file CrudActionResponse.cs.