Interface IDictionaryService
Provides utility services for dictionary items.
Namespace: Umbraco.Cms.Core.Services
Assembly: Umbraco.Core.dll
Syntax
public interface IDictionaryService
Methods
View SourceCalculatePathAsync(Guid?, int)
Calculates the hierarchical path for a dictionary item.
Declaration
Task<string> CalculatePathAsync(Guid? parentId, int sourceId)
Parameters
| Type | Name | Description |
|---|---|---|
| Guid? | parentId | The unique identifier of the parent dictionary item, or |
| int | sourceId | The source identifier of the dictionary item. |
Returns
| Type | Description |
|---|---|
| Task<string> | The calculated path string. |