C# Class Diva.Wifi.LocalizationPathCache

Cache for mappings from a resource path and a language code onto a path to the localized resource.
Afficher le fichier Open project: diva/diva-distribution

Méthodes publiques

Méthode Description
AddOrUpdate ( string path, string language, string languagePath ) : void
LocalizationPathCache ( System.TimeSpan expiration ) : System
TryGet ( string path, string language, string &localizedPath ) : bool

Method Details

AddOrUpdate() public méthode

public AddOrUpdate ( string path, string language, string languagePath ) : void
path string
language string
languagePath string
Résultat void

LocalizationPathCache() public méthode

public LocalizationPathCache ( System.TimeSpan expiration ) : System
expiration System.TimeSpan
Résultat System

TryGet() public méthode

public TryGet ( string path, string language, string &localizedPath ) : bool
path string
language string
localizedPath string
Résultat bool