Pavalisoft.ExceptionHandling  1.0.0
An Unified API for ASP.NET Core Global Exception handling with ExceptionManager
Pavalisoft.ExceptionHandling.ErrorDetailLocalizer< TSharedResourceType > Class Template Reference

More...

Inheritance diagram for Pavalisoft.ExceptionHandling.ErrorDetailLocalizer< TSharedResourceType >:
Pavalisoft.ExceptionHandling.Interfaces.IErrorDetailLocalizer

Public Member Functions

 ErrorDetailLocalizer (IExceptionDataProvider exceptionDataProvider, IStringLocalizer< TSharedResourceType > errorDetailLocalizer)
 Creates an instance of ErrorDetailLocalizer<TSharedResourceType> More...
 
void LocalizeErrorDetail (IErrorDetail errorDetail, object[] args)
 Sets the localized message test to IErrorDetail
 

Detailed Description

Constructor & Destructor Documentation

◆ ErrorDetailLocalizer()

Pavalisoft.ExceptionHandling.ErrorDetailLocalizer< TSharedResourceType >.ErrorDetailLocalizer ( IExceptionDataProvider  exceptionDataProvider,
IStringLocalizer< TSharedResourceType >  errorDetailLocalizer 
)

Creates an instance of ErrorDetailLocalizer<TSharedResourceType>

Parameters
exceptionDataProviderProvides ExceptionSettings for exception hnandling.
errorDetailLocalizerThe IStringLocalizer<TSharedResourceType> to use the localized exception messages.

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