Example #1
0
        public static string Index(string folderPath, IndexerSettings config)
        {
            Indexer indexer = null;

            switch (config.Output)
            {
                case IndexerOutput.Html:
                    indexer = new IndexerHtml(config);
                    break;
                case IndexerOutput.Txt:
                    indexer = new IndexerText(config);
                    break;
                case IndexerOutput.Xml:
                    indexer = new IndexerXml(config);
                    break;
            }

            return indexer.Index(folderPath);
        }
Example #2
0
        public static string Index(string folderPath, IndexerSettings config)
        {
            Indexer indexer = null;

            switch (config.Output)
            {
            case IndexerOutput.Html:
                indexer = new IndexerHtml(config);
                break;

            case IndexerOutput.Txt:
                indexer = new IndexerText(config);
                break;

            case IndexerOutput.Xml:
                indexer = new IndexerXml(config);
                break;
            }

            return(indexer.Index(folderPath));
        }
Example #3
0
 public IndexerXml(IndexerSettings indexerSettings)
     : base(indexerSettings)
 {
 }
Example #4
0
 public IndexerHtml(IndexerSettings indexerSettings)
     : base(indexerSettings)
 {
 }
Example #5
0
 public IndexerText(IndexerSettings indexerSettings)
     : base(indexerSettings)
 {
 }
Example #6
0
 protected Indexer(IndexerSettings indexerSettings)
 {
     config = indexerSettings;
 }
Example #7
0
 protected Indexer(IndexerSettings indexerSettings)
 {
     config = indexerSettings;
 }
Example #8
0
 public IndexerText(IndexerSettings indexerSettings)
     : base(indexerSettings)
 {
 }