C# Class Projbook.Extension.DefaultSnippetExtractor

Extractor in charge of browsing source directories. load file content and extract requested member.
Inheritance: ISnippetExtractor
ファイルを表示 Open project: FransBouma/DocNet Class Usage Examples

Public Methods

Method Description
Extract ( string fullFilename, string pattern ) : string

Extracts a snippet.

Protected Methods

Method Description
LoadFile ( string fullFilename ) : string

Loads a file from the file name.

Method Details

Extract() public method

Extracts a snippet.
fileSystemInfo
public Extract ( string fullFilename, string pattern ) : string
fullFilename string The full filename (with path) to load and to extract the snippet from.
pattern string The extraction pattern, never used for this implementation.
return string

LoadFile() protected method

Loads a file from the file name.
fileInfo
protected LoadFile ( string fullFilename ) : string
fullFilename string The full filename.
return string