Exemplo n.º 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);
        }
Exemplo n.º 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));
        }
Exemplo n.º 3
0
 public IndexerXml(IndexerSettings indexerSettings)
     : base(indexerSettings)
 {
 }
Exemplo n.º 4
0
 public IndexerHtml(IndexerSettings indexerSettings)
     : base(indexerSettings)
 {
 }
Exemplo n.º 5
0
 public IndexerText(IndexerSettings indexerSettings)
     : base(indexerSettings)
 {
 }
Exemplo n.º 6
0
 protected Indexer(IndexerSettings indexerSettings)
 {
     config = indexerSettings;
 }
Exemplo n.º 7
0
 protected Indexer(IndexerSettings indexerSettings)
 {
     config = indexerSettings;
 }
Exemplo n.º 8
0
 public IndexerText(IndexerSettings indexerSettings)
     : base(indexerSettings)
 {
 }