
Public Member Functions | |
| FileSystemProvider (string path) | |
| Constructs a FileSystemProvider object directing it to read files from the specified path. | |
| Stream | OpenRead (string filename) |
| Opens a file. | |
| bool | FileExists (string filename) |
| Returns true if the specified file exists. | |
| IEnumerable< string > | GetAllFiles () |
| Gets all files in all paths. | |
| IEnumerable< string > | GetAllFiles (string searchPattern) |
| Gets all files in all paths that match the specified search pattern. | |
| override string | ToString () |
| Returns a string representing the FileSystemProvider object. | |
Properties | |
| string | SearchPath [get] |
| Gets the path that this FileSystemProvider searches in. | |
| AgateLib.Utility.FileSystemProvider.FileSystemProvider | ( | string | path | ) |
Constructs a FileSystemProvider object directing it to read files from the specified path.
| path |
| bool AgateLib.Utility.FileSystemProvider.FileExists | ( | string | filename | ) |
Returns true if the specified file exists.
| filename |
Implements AgateLib.IFileProvider.
| IEnumerable<string> AgateLib.Utility.FileSystemProvider.GetAllFiles | ( | string | searchPattern | ) |
Gets all files in all paths that match the specified search pattern.
| searchPattern |
Implements AgateLib.IFileProvider.
| IEnumerable<string> AgateLib.Utility.FileSystemProvider.GetAllFiles | ( | ) |
| Stream AgateLib.Utility.FileSystemProvider.OpenRead | ( | string | filename | ) |
| override string AgateLib.Utility.FileSystemProvider.ToString | ( | ) |
string AgateLib.Utility.FileSystemProvider.SearchPath [get] |
Gets the path that this FileSystemProvider searches in.
|
AgateLib Awesome Game and Tool Engine Library |
|