C# Class F2F.Sandbox.FolderBasedFileLocator

File locator that locates files in a given directory.
Inheritance: IFileLocator
Afficher le fichier Open project: apprenda/F2F.Sandbox

Méthodes publiques

Méthode Description
CopyTo ( string srcFile, string dstFile ) : void

See F2F.Sandbox.IFileLocator.CopyTo(string, string)

EnumeratePath ( string path ) : IEnumerable

See F2F.Sandbox.IFileLocator.EnumeratePath(string)

Exists ( string fileName ) : bool

Query if 'fileName' exists.

FolderBasedFileLocator ( string baseDirectory ) : System

Creates a new instance

Private Methods

Méthode Description
MakeAbsolutePath ( string fileName ) : string

Method Details

CopyTo() public méthode

See F2F.Sandbox.IFileLocator.CopyTo(string, string)
public CopyTo ( string srcFile, string dstFile ) : void
srcFile string
dstFile string
Résultat void

EnumeratePath() public méthode

See F2F.Sandbox.IFileLocator.EnumeratePath(string)
public EnumeratePath ( string path ) : IEnumerable
path string
Résultat IEnumerable

Exists() public méthode

Query if 'fileName' exists.
public Exists ( string fileName ) : bool
fileName string The file to locate.
Résultat bool

FolderBasedFileLocator() public méthode

Creates a new instance
public FolderBasedFileLocator ( string baseDirectory ) : System
baseDirectory string
Résultat System