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

Resource file locator.
Наследование: IFileLocator
Показать файл Открыть проект

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

Метод Описание
CopyTo ( string fileName, string destinationPath ) : void

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

EnumeratePath ( string path ) : IEnumerable

See F2F.Sandbox.IFileLocator.EnumeratePath(string)

Exists ( string fileName ) : bool

See F2F.Sandbox.IFileLocator.Exists(string)

ResourceFileLocator ( Type typeInRootNamespace ) : System

Initializes the file locator with the given type.

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

Метод Описание
CopyTo ( Stream input, Stream output ) : void
GetFullResourceName ( string fileName ) : string
GetPathFromResource ( string resourceName ) : string
NormalizeDirectoryPath ( string path ) : string
ReplaceLast ( string text, string search, string replace ) : string

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

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

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

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

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

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

See F2F.Sandbox.IFileLocator.Exists(string)
public Exists ( string fileName ) : bool
fileName string
Результат bool

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

Initializes the file locator with the given type.
public ResourceFileLocator ( Type typeInRootNamespace ) : System
typeInRootNamespace System.Type The type in root namespace.
Результат System