Пример #1
0
        public Indexer(ILogger logger, IConfiguration configuration)
        {
            _logger        = logger;
            _configuration = configuration;
            _fileCount     = 0;
            var jsFileIndexer  = new JavaScriptFileIndexer(null, _logger);
            var sqlFileIndexer = new SqlFileIndexer(jsFileIndexer, _logger);

            _fileIndexer = new CSharpFileIndexer(sqlFileIndexer);
        }
Пример #2
0
 public JavaScriptFileIndexer(FileIndexer successor, ILogger logger) : base(successor, logger)
 {
 }
Пример #3
0
 public SqlFileIndexer(FileIndexer successor, ILogger logger) : base(successor, logger)
 {
 }
Пример #4
0
 public CSharpFileIndexer(FileIndexer successor) : base(successor, null)
 {
 }
Пример #5
0
 public FileIndexer(FileIndexer successor, ILogger logger)
 {
     this.Successor = successor;
     this.Logger    = logger;
 }