C# Class Alexandria.PathState

State that operates within a directory.
Inheritance: State
Afficher le fichier Open project: Burton-Radons/Alexandria

Méthodes publiques

Méthode Description
LoadRelative ( string path ) : Asset

Load an object from a relative path.

OpenRelative ( string path, FileMode mode, FileAccess access, FileShare share ) : Stream

Open a stream to a relative path.

PathState ( AlexandriaManager manager, string rootPath, FileManager fileManager ) : System

Initialise the PathState.

Method Details

LoadRelative() public méthode

Load an object from a relative path.
public LoadRelative ( string path ) : Asset
path string
Résultat Asset

OpenRelative() public méthode

Open a stream to a relative path.
public OpenRelative ( string path, FileMode mode, FileAccess access, FileShare share ) : Stream
path string
mode FileMode
access FileAccess
share FileShare
Résultat Stream

PathState() public méthode

Initialise the PathState.
public PathState ( AlexandriaManager manager, string rootPath, FileManager fileManager ) : System
manager AlexandriaManager
rootPath string
fileManager Glare.Assets.FileManager
Résultat System