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

Creates ViewResult with the ViewName in the IErrorDetail More...

Inheritance diagram for Pavalisoft.ExceptionHandling.ActionResultCreators.ViewResultCreator:
Pavalisoft.ExceptionHandling.Interfaces.IActionResultCreator

Public Member Functions

 ViewResultCreator (IModelMetadataProvider modelMetadataProvider)
 Creates an instance of ViewResultCreator with IModelMetadataProvider More...
 
virtual IActionResult CreateActionResult (IErrorDetail details, IDictionary< string, object > data)
 Creates IActionResult using details and data
 

Detailed Description

Creates ViewResult with the ViewName in the IErrorDetail

ViewResultCreator should be used in ASP.NET Core MVC Website Applications

Constructor & Destructor Documentation

◆ ViewResultCreator()

Pavalisoft.ExceptionHandling.ActionResultCreators.ViewResultCreator.ViewResultCreator ( IModelMetadataProvider  modelMetadataProvider)

Creates an instance of ViewResultCreator with IModelMetadataProvider

Parameters
modelMetadataProviderIModelMetadataProvider instance

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