Pavalisoft.ExceptionHandling
1.0.0
An Unified API for ASP.NET Core Global Exception handling with ExceptionManager
|
Datastructure holds IActionResult response information More...
Public Member Functions | |
ActionResultContext (HttpContext context, Exception exception=default, IActionResult actionResult=default) | |
Creates an instance of ActionResultContext More... | |
Properties | |
HttpContext | Context [get] |
Gets the Response HttpContext More... | |
Exception | Exception [get, set] |
Gets the handled Exception More... | |
IActionResult | ActionResult [get, set] |
Gets or Sets IActionResult from the result of the IExceptionManager More... | |
Datastructure holds IActionResult response information
Pavalisoft.ExceptionHandling.Interfaces.ActionResultContext.ActionResultContext | ( | HttpContext | context, |
Exception | exception = default , |
||
IActionResult | actionResult = default |
||
) |
Creates an instance of ActionResultContext
context | Created Response HttpContext |
exception | Handled Exception |
actionResult | IActionResult to be added to response |
|
getset |
Gets or Sets IActionResult from the result of the IExceptionManager
|
get |
Gets the Response HttpContext
|
getset |
Gets the handled Exception