C# Class Diva.Wifi.LocalizationPathCache

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

Public Methods

Method 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 method

public AddOrUpdate ( string path, string language, string languagePath ) : void
path string
language string
languagePath string
return void

LocalizationPathCache() public method

public LocalizationPathCache ( System.TimeSpan expiration ) : System
expiration System.TimeSpan
return System

TryGet() public method

public TryGet ( string path, string language, string &localizedPath ) : bool
path string
language string
localizedPath string
return bool