C# Class F2F.Sandbox.ResourceFileLocator

Resource file locator.
Inheritance: IFileLocator
Afficher le fichier Open project: apprenda/F2F.Sandbox

Méthodes publiques

Méthode Description
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.

Private Methods

Méthode Description
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

Method Details

CopyTo() public méthode

See F2F.Sandbox.IFileLocator.CopyTo(string, string)
public CopyTo ( string fileName, string destinationPath ) : void
fileName string
destinationPath 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

See F2F.Sandbox.IFileLocator.Exists(string)
public Exists ( string fileName ) : bool
fileName string
Résultat bool

ResourceFileLocator() public méthode

Initializes the file locator with the given type.
public ResourceFileLocator ( Type typeInRootNamespace ) : System
typeInRootNamespace System.Type The type in root namespace.
Résultat System