Пример #1
0
        public ILanguageServices GetLanguageServicesForLanguage(string language)
        {
            language = language ?? DefaultLanguage;

            if (LanguageServices.ContainsKey(language))
            {
                return(LanguageServices[language]);
            }

            var services = new LanguageServices(language);

            LanguageServices[language] = services;
            return(services);
        }
Пример #2
0
 public FeatureParser(LanguageServices languageService, IFileSystem fileSystem)
 {
     this.languageService = languageService;
     this.fileSystem = fileSystem;
 }
Пример #3
0
 public FeatureParser(LanguageServices languageService, IFileSystem fileSystem)
 {
     this.languageService = languageService;
     this.fileSystem      = fileSystem;
 }
Пример #4
0
 public FeatureParser(LanguageServices languageService)
 {
     this.languageService = languageService;
 }