The WrapResponse<TResult>
class extends WrapResponseBase to include a result of type TResult
. This generic class represents a wrapped response that includes a response status, messages, validation errors, and the result of an operation.
Properties
Name | Description |
---|
InternalMessage | An internal message associated with the response, intended for logging or internal tracking. |
Success | Indicates the status of the response. true if the operation was successful; otherwise, false . |
ValidationErrorInfos | A list of validation error information objects that describe validation issues encountered during the operation. |
Message | A public message associated with the response, intended for external use or display. |
Exception | An exception object representing any error that occurred during the operation. |
Result | Contains the result of the operation, with the type specified by TResult . |
Generic Types
Name | Description |
---|
TResult | Generic type of result property. |