Pavalisoft.ExceptionHandling  1.0.0
An Unified API for ASP.NET Core Global Exception handling with ExceptionManager
Pavalisoft.ExceptionHandling.Interfaces.ActionResultContext Class Reference

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...
 

Detailed Description

Datastructure holds IActionResult response information

Constructor & Destructor Documentation

◆ ActionResultContext()

Pavalisoft.ExceptionHandling.Interfaces.ActionResultContext.ActionResultContext ( HttpContext  context,
Exception  exception = default,
IActionResult  actionResult = default 
)

Creates an instance of ActionResultContext

Parameters
contextCreated Response HttpContext
exceptionHandled Exception
actionResultIActionResult to be added to response

Property Documentation

◆ ActionResult

IActionResult Pavalisoft.ExceptionHandling.Interfaces.ActionResultContext.ActionResult
getset

Gets or Sets IActionResult from the result of the IExceptionManager

◆ Context

HttpContext Pavalisoft.ExceptionHandling.Interfaces.ActionResultContext.Context
get

Gets the Response HttpContext

◆ Exception

Exception Pavalisoft.ExceptionHandling.Interfaces.ActionResultContext.Exception
getset

Gets the handled Exception


The documentation for this class was generated from the following file: