This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public class NoCacheApplicationDictionaryReader : ApplicationDictionaryReader | |
{ | |
public NoCacheApplicationDictionaryReader( | |
IDictionaryDomainResolver dictionaryDomainResolver, | |
ITranslationDictionaryReader translationDictionaryReader, | |
HttpContextBase httpContext) | |
: base(dictionaryDomainResolver, translationDictionaryReader, httpContext) | |
{ | |
} | |
public override IDictionary<string, string> GetPhrases(AppConfiguration application, Language language) | |
{ | |
var dictionaryDomain = this.DictionaryDomainResolver.GetDictionaryDomain(application); | |
if (dictionaryDomain == null) | |
{ | |
return null; | |
} | |
return this.TranslationDictionaryReader.GetPhrases(dictionaryDomain, language); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment