plugin.cs
来自「小型搜索软件的源代码」· CS 代码 · 共 27 行
CS
27 行
using Lucene.Net.Analysis;
namespace ShootSearch.Plugin
{
/// <summary>
/// Plugin 的摘要说明。
/// </summary>
public interface IParserPlugin
{
/// <summary>
/// List of extensions that can be processed by this plugin
/// </summary>
string[] Extensions {get;}
/// <summary>
/// Extracts the plain text from a file
/// </summary>
/// <param name="path">Full path to the file to be parsed.</param>
/// <returns></returns>
string Extract(string path);
/// <summary>
/// Which DotLucene Analyzer to use.
/// </summary>
Analyzer Analyzer {get;}
}
}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?