C# Class Projbook.Extension.FileSystemExtractor.FileSystemSnippetExtractor

Inheritance: ISnippetExtractor
Afficher le fichier Open project: defrancea/Projbook Class Usage Examples

Méthodes publiques

Méthode Description
Extract ( System.IO.Abstractions.FileSystemInfoBase fileSystemInfo, string pattern ) : System.Snippet

Extracts a snippet.

Méthodes protégées

Méthode Description
ConvertToDirectory ( System.IO.Abstractions.FileSystemInfoBase fileSystemInfo ) : DirectoryInfoBase

Converts a FileSystemInfo to DirectoryInfo.

Private Methods

Méthode Description
BuildSnippet ( DirectoryInfoBase rootDirectory, System.IO.Abstractions.FileSystemInfoBase directoryInfo ) : System.Snippet

Builds a snippet from a directory info.

Method Details

ConvertToDirectory() protected méthode

Converts a FileSystemInfo to DirectoryInfo.
protected ConvertToDirectory ( System.IO.Abstractions.FileSystemInfoBase fileSystemInfo ) : DirectoryInfoBase
fileSystemInfo System.IO.Abstractions.FileSystemInfoBase The file system info.
Résultat System.IO.Abstractions.DirectoryInfoBase

Extract() public méthode

Extracts a snippet.
public Extract ( System.IO.Abstractions.FileSystemInfoBase fileSystemInfo, string pattern ) : System.Snippet
fileSystemInfo System.IO.Abstractions.FileSystemInfoBase The file system info.
pattern string The extraction pattern.
Résultat System.Snippet