C# Class FluentBuild.Utilities.FileSystemHelper

Finds files recursevely in a directory
Inheritance: IFileSystemHelper
Afficher le fichier Open project: SkightTeam/eLiteWeb Class Usage Examples

Méthodes publiques

Méthode Description
CreateFile ( string path ) : Stream
FileSystemHelper ( ) : System

Instantiates a new FileSystemHelper

Find ( string fileName ) : string

Finds a file in the CURRENT directory and searches subdirectories

Find ( string fileName, string directory ) : string

Finds a file in a directory and searches subdirectories

FindInFoldersRecursively ( string directory, string filter ) : List
ReadFile ( string path ) : Stream

Private Methods

Méthode Description
FileSystemHelper ( IFileSystemWrapper fileSystem ) : System

Method Details

CreateFile() public méthode

public CreateFile ( string path ) : Stream
path string
Résultat Stream

FileSystemHelper() public méthode

Instantiates a new FileSystemHelper
public FileSystemHelper ( ) : System
Résultat System

Find() public méthode

Finds a file in the CURRENT directory and searches subdirectories
public Find ( string fileName ) : string
fileName string The filename to search for
Résultat string

Find() public méthode

Finds a file in a directory and searches subdirectories
public Find ( string fileName, string directory ) : string
fileName string The filename to find
directory string The starting directory to search
Résultat string

FindInFoldersRecursively() public méthode

public FindInFoldersRecursively ( string directory, string filter ) : List
directory string
filter string
Résultat List

ReadFile() public méthode

public ReadFile ( string path ) : Stream
path string
Résultat Stream