Exemplo n.º 1
0
        public ChromiumSourceFiles(IConfigurationFileProvider configurationFileProvider)
        {
            var configurationSectionProvider = new ConfigurationFileSectionProvider(configurationFileProvider);

            _chromiumCodingStylePatterns = new PathPatternsFile(configurationSectionProvider, ConfigurationStyleFilenames.ChromiumCodingStyleIgnore);
            _chromiumDiscoveryProvider   = new ChromiumDiscoveryWithCache <FullPathName>(configurationSectionProvider);
        }
Exemplo n.º 2
0
 public ApplicationSettings(IConfigurationFileProvider configurationFileProvider)
 {
     using (var reader = new StreamReader(configurationFileProvider.GetConfigurationStream()))
     {
         var json = reader.ReadToEnd();
         _settings = JObject.Parse(json);
     }
 }
Exemplo n.º 3
0
 internal ChromiumStyleClassifier(
   IClassificationTypeRegistryService classificationRegistry,
   IEnumerable<ITextLineChecker> checkers,
   IConfigurationFileProvider configurationFileProvider) {
   _classificationType = classificationRegistry.GetClassificationType(ChromiumStyleClassifierConstants.Name);
   _checkers = checkers;
   _configurationFileProvider = configurationFileProvider;
   _disabledCheckers = new Lazy<IList<string>>(ReadDisableCheckers);
 }
 internal ChromiumStyleClassifier(
     IClassificationTypeRegistryService classificationRegistry,
     IEnumerable <ITextLineChecker> checkers,
     IConfigurationFileProvider configurationFileProvider)
 {
     _classificationType        = classificationRegistry.GetClassificationType(ChromiumStyleClassifierConstants.Name);
     _checkers                  = checkers;
     _configurationFileProvider = configurationFileProvider;
     _disabledCheckers          = new Lazy <IList <string> >(ReadDisableCheckers);
 }
Exemplo n.º 5
0
 public ChromiumSourceFiles(IConfigurationFileProvider configurationFileProvider)
 {
     var configurationSectionProvider = new ConfigurationFileSectionProvider(configurationFileProvider);
       _chromiumCodingStylePatterns = new PathPatternsFile(configurationSectionProvider, ConfigurationStyleFilenames.ChromiumCodingStyleIgnore);
       _chromiumDiscoveryProvider = new ChromiumDiscoveryWithCache<FullPathName>(configurationSectionProvider);
 }
 public ChromiumProjectDiscoveryProvider(IConfigurationFileProvider configurationFileProvider)
 {
     _configurationSectionProvider = new ConfigurationFileSectionProvider(configurationFileProvider);
       _chromiumDiscovery = new ChromiumDiscoveryWithCache<ChromiumProject>(_configurationSectionProvider);
 }
 public ConfigurationFileSectionProvider(IConfigurationFileProvider configurationFileProvider)
 {
     _configurationFileProvider = configurationFileProvider;
 }
 public ConfigurationFileSectionProvider(IConfigurationFileProvider configurationFileProvider, IFileSystem fileSystem)
 {
     _configurationFileProvider = configurationFileProvider;
       _volatileToken = new ConfigurationFileSectionProviderVolatileToken(fileSystem);
 }
Exemplo n.º 9
0
 public ChromiumProjectDiscoveryProvider(IConfigurationFileProvider configurationFileProvider)
 {
     _configurationSectionProvider = new ConfigurationFileSectionProvider(configurationFileProvider);
     _chromiumDiscovery            = new ChromiumDiscoveryWithCache <ChromiumProject>(_configurationSectionProvider);
 }
 public ConfigurationFileSectionProvider(IConfigurationFileProvider configurationFileProvider)
 {
     _configurationFileProvider = configurationFileProvider;
 }