Метод | Описание | |
---|---|---|
GetString ( string tenant, string resourceClass, string resourceKey, string cultureCode = null ) : string |
Gets the localized resource.
|
|
TryGetResourceFromCache ( string tenant, string resourceClass, string resourceKey, string cultureCode = null ) : string |
Get the localized resource without throwing an exception if the resource is not found.
|
Метод | Описание | |
---|---|---|
GetCache ( string tenant ) : string>.IDictionary |
||
GetCulture ( string cultureCode ) : |
||
InitializeResourcesAsync ( string tenant ) : System.Threading.Tasks.Task |
public static GetString ( string tenant, string resourceClass, string resourceKey, string cultureCode = null ) : string | ||
tenant | string | The name of the database or tenant. |
resourceClass | string | The name of the resource class. |
resourceKey | string | The resource key. |
cultureCode | string | /// The culture of the resource. /// If this optional parameter is left empty, the current culture will be used. /// |
Результат | string |
public static TryGetResourceFromCache ( string tenant, string resourceClass, string resourceKey, string cultureCode = null ) : string | ||
tenant | string | The name of the current tenant or database. |
resourceClass | string | The name of the resource class. |
resourceKey | string | The resource key. |
cultureCode | string | /// The culture of the resource. /// If this optional parameter is left empty, the current culture will be used. /// |
Результат | string |