C# Class Sitecore.Foundation.Dictionary.Repositories.DictionaryPhraseRepository

Inheritance: IDictionaryPhraseRepository
Afficher le fichier Open project: Sitecore/Habitat Class Usage Examples

Méthodes publiques

Méthode Description
DictionaryPhraseRepository ( Sitecore.Foundation.Dictionary.Models.Dictionary dictionary ) : System
Get ( [ relativePath, string defaultValue ) : string
GetItem ( [ relativePath, string defaultValue = "" ) : System.Item

Private Methods

Méthode Description
AssertRelativePath ( string relativePath ) : string
GetCurrentFromCacheOrCreate ( ) : IDictionaryPhraseRepository
GetOrAutoCreateItem ( [ relativePath, [ defaultValue ) : System.Item

Method Details

DictionaryPhraseRepository() public méthode

public DictionaryPhraseRepository ( Sitecore.Foundation.Dictionary.Models.Dictionary dictionary ) : System
dictionary Sitecore.Foundation.Dictionary.Models.Dictionary
Résultat System

Get() public méthode

public Get ( [ relativePath, string defaultValue ) : string
relativePath [
defaultValue string
Résultat string

GetItem() public méthode

public GetItem ( [ relativePath, string defaultValue = "" ) : System.Item
relativePath [
defaultValue string
Résultat System.Item