Example #1
0
 private void LoadLanguages()
 {
     using (var r = GetType().Assembly.GetManifestResourceStream(GetType().Assembly.GetName().Name + ".i18n.yml"))
     {
         var ymlParser = new YmlParser();
         languages = ymlParser.Parse(r);
     }
 }
Example #2
0
 private void Establish_context()
 {
     _ymlParser = new YmlParser();
 }