Namespace NuvTools.Common.ResultWrapper
Classes
- HttpResponseMessageExtensions
Extension methods to convert HttpResponseMessage into IResult or IResult<T>. Handles both success and error responses that may contain a serialized Result.
- MessageDetail
Represents a detailed message related to an operation result, such as informational, success, warning, or error messages.
- Result
Represents a non-generic operation result, containing the outcome of an operation, associated messages, and status information.
- ResultBase
Base class for operation results. Holds common metadata such as success flag, result type, messages and "not found" indicator.
- Result<T>
Represents a generic operation result that carries a data payload along with success status and message details.
- Result<T, E>
Represents an operation result that returns success data (T) and can also capture a typed error payload (E) for APIs that return non-standard error contracts.
Interfaces
- IResult
Defines the base contract for an operation result, representing the outcome of a business or system process along with contextual messages.
- IResult<T>
Defines the generic contract for an operation result that includes a data payload.