示例#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;
 }