Beispiel #1
0
 public IPolicyLanguageTableCache NewLanguage(string language, string content, bool defaultlanguage)
 {
     DummyLanguageCache dlc = new DummyLanguageCache(language);
     DummyLanguageTableCache dltc = new DummyLanguageTableCache(dlc);
     dltc.Content = content;
     return dltc;
 }
Beispiel #2
0
 public void GetRules(string requestType, string target)
 {
     // Well here is the story the channel name is really the request type!
     // You have been warned!
     m_Channel = requestType;
     m_Target = target;
     m_Content = RetrieveRulesForThisCulture(Thread.CurrentThread.CurrentCulture.Name);
     m_Objects = RetrieveObjects();
     DummyLanguageTableCache dltc = new DummyLanguageTableCache(m_dumbLang);
     dltc.Content = m_Content;
     m_langs.Add(dltc);
 }