public static class RecroDict
The default language can be configured in the appsettings.json.
"Recrovit": {
"RecroDict": {
"DefaultLanguage": "eng"
}
}
DefaultLanguage | Gets the default language. |
ValidLanguages |
The valid languages in RecroDict are those listed under the RGF.Language scope.
Obsolete. |
AddOrReplaceAsync | Adds or replaces a translation asynchronously. If the translation is null or empty, the entry will be deleted. |
ClearCache | Clear cache. |
CreateSelectListItemCollectionAsync | Creating a ICollectionSelectListItem from dictionary elements. |
DeleteAsync | Delete. |
Get(HttpContext, String, String, Object) | Retrieves the requested dictionary item. |
Get(String, String, String, Object) | Retrieves the requested dictionary item. |
Get(HttpContext, String, Int32, Boolean, Object) |
Retrieves the requested dictionary item.
Obsolete. |
Get(String, String, Int32, Boolean, Object) |
Retrieves the requested dictionary item.
Obsolete. |
Get(String, String, String, Boolean, Object) | Retrieves the requested dictionary item. |
GetAllItemsAsync | Retrieves all elements associated with a Scope. |
GetCurrentCultureInfo | Gets the current culture information. |
GetOrDefault | Gets the string value associated with the specified language, scope, and string ID. If the string is not found, returns the specified default value. |
GetS(HttpContext, String, Boolean, Object) | Retrieves the requested dictionary item. |
GetS(String, String, Boolean, Object) | Returns the requested dictionary item. |
GetScopesAsync | Gets the scopes asynchronous. |
GetSessionLanguage | Gets the session language. |
GetStr(String, String, String, Int32, Boolean, Object) | Retrieves the requested dictionary item. |
GetStr(String, String, String, String, Boolean, Object) | Retrieves the requested dictionary item. |
GetStrS | Retrieves the requested dictionary item. |
GetTranslationAsync | Retrieves the translation for a given language, scope, and resource key. |
GetValidLanguagesAsync | The valid languages in RecroDict are those listed under the RGF.Language scope. |
GetXML |
Returns all elements of a Scope in XML format.
Obsolete. |
GetXMLAsync | Returns all elements of a Scope in XML format. |
IsValid |
Validation of the dictionary item's validity.
Obsolete. |
IsValidAsync | Validation of the dictionary item's validity. |
RemoveAllHtmlScripts | Removing HTML script tags. |
SetSessionLanguage | Sets the session language. |
StripHTML | Removing HTML elements. |