Méthode | Description | |
---|---|---|
AddResource ( string resourceLabelKey ) : string |
Adds a new translatable string resource to this JsonCulture.
|
|
JsonCulture ( |
Creates a new JsonCulture instance from the supplied CultureInfo. This class uses a dictionary as its basis for storing/caching its information. This makes it incredibly easy to extend without having to create/remove properties. |
|
ToJsonString ( ) : string |
Returns a JSON formatted string repressentation of this JsonCulture instance's culture labels.
|
public AddResource ( string resourceLabelKey ) : string | ||
resourceLabelKey | string | The key used to retrieve the translated value from global resource labels. |
Résultat | string |
public JsonCulture ( |
||
cultureInfo | The CultureInfo needed to get the proper translations for this JsonCulture instance | |
resourceType | ResourceType | Type of resource (blog or admin) |
Résultat | System |