Interface ICultureDictionary
Represents a dictionary based on a specific culture.
Namespace: Umbraco.Cms.Core.Dictionary
Assembly: Umbraco.Core.dll
Syntax
public interface ICultureDictionary
Properties
View SourceCulture
Gets the culture for the dictionary.
Declaration
CultureInfo Culture { get; }
Property Value
| Type | Description |
|---|---|
| CultureInfo |
this[string]
Gets the value for a given key.
Declaration
string this[string key] { get; }
Parameters
| Type | Name | Description |
|---|---|---|
| string | key | The key for the dictionary item. |
Property Value
| Type | Description |
|---|---|
| string | The value matching the provided key. If no value is found, an empty string is returned. |
Methods
View SourceGetChildren(string)
Returns the child dictionary entries for a given key.
Declaration
IDictionary<string, string> GetChildren(string key)
Parameters
| Type | Name | Description |
|---|---|---|
| string | key | The key for the dictionary item. |
Returns
| Type | Description |
|---|---|
| IDictionary<string, string> | The value matching the provided key. If no value is found, an empty dictionary is returned. |