Class ResultExtensions
Defines extension methods for the Result object.
Inherited Members
Namespace: SimpleResults
Assembly: SimpleResults.AspNetCore.dll
Syntax
public static class ResultExtensions
Methods
| Name | Description |
|---|---|
| ToActionResult(Result) | Converts the Result to ActionResult<TValue>
where |
| ToActionResult<T>(ListedResult<T>) | Converts the ListedResult<T> to ActionResult<TValue>
where |
| ToActionResult<T>(PagedResult<T>) | Converts the PagedResult<T> to ActionResult<TValue>
where |
| ToActionResult<T>(Result<T>) | Converts the Result<T> to ActionResult<TValue>
where |
| ToHttpResult(Result) | |
| ToHttpResult<T>(ListedResult<T>) | Converts the ListedResult<T> to an implementation of IResult. |
| ToHttpResult<T>(PagedResult<T>) | Converts the PagedResult<T> to an implementation of IResult. |
| ToHttpResult<T>(Result<T>) |