C# Класс F2F.Sandbox.FolderBasedFileLocator

File locator that locates files in a given directory.
Наследование: IFileLocator
Показать файл Открыть проект

Открытые методы

Метод Описание
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

Приватные методы

Метод Описание
MakeAbsolutePath ( string fileName ) : string

Описание методов

CopyTo() публичный Метод

See F2F.Sandbox.IFileLocator.CopyTo(string, string)
public CopyTo ( string srcFile, string dstFile ) : void
srcFile string
dstFile string
Результат void

EnumeratePath() публичный Метод

See F2F.Sandbox.IFileLocator.EnumeratePath(string)
public EnumeratePath ( string path ) : IEnumerable
path string
Результат IEnumerable

Exists() публичный Метод

Query if 'fileName' exists.
public Exists ( string fileName ) : bool
fileName string The file to locate.
Результат bool

FolderBasedFileLocator() публичный Метод

Creates a new instance
public FolderBasedFileLocator ( string baseDirectory ) : System
baseDirectory string
Результат System