C# Class Alexandria.PathState

State that operates within a directory.
Inheritance: State
Show file Open project: Burton-Radons/Alexandria

Public Methods

Method 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 method

Load an object from a relative path.
public LoadRelative ( string path ) : Asset
path string
return Asset

OpenRelative() public method

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
return Stream

PathState() public method

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