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

Datei anzeigen Open project: RebelCMS/rebelcmsxu5

Public Methods

Method 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 method

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

LocalizeValidationException() public static method

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
return string