namespace Projbook.Extension.Spi
{
///
/// Defines interface for snippet extractor.
///
public interface ISnippetExtractor
{
///
/// Defines the target type.
///
TargetType TargetType { get; }
///
/// Extracts a snippet.
///
/// The full filename (with path) to load and to extract the snippet from.
/// The extraction pattern.
///
/// The extracted snippet as string.
///
string Extract(string fullFilename, string pattern);
}
}