C# Class Rebel.Framework.Localization.Web.Mvc.ExceptionHelper

Afficher le fichier Open project: RebelCMS/rebelcmsxu5

Méthodes publiques

Méthode Description
GetCommonTypeName ( Type t ) : string

Gets the name of the type like "integer", "number" "date" etc..

LocalizeValidationException ( TextManager textManager, Exception ex, ModelMetadata metadata, LocalizedValidationAttribute localizationInfo = null, System.Web.Mvc.ValueProviderResult value = null ) : string

Method Details

GetCommonTypeName() public static méthode

Gets the name of the type like "integer", "number" "date" etc..
public static GetCommonTypeName ( Type t ) : string
t System.Type The t.
Résultat string

LocalizeValidationException() public static méthode

public static LocalizeValidationException ( TextManager textManager, Exception ex, ModelMetadata metadata, LocalizedValidationAttribute localizationInfo = null, System.Web.Mvc.ValueProviderResult value = null ) : string
textManager TextManager
ex System.Exception
metadata ModelMetadata
localizationInfo LocalizedValidationAttribute
value System.Web.Mvc.ValueProviderResult
Résultat string