Space Engineers
Public Member Functions | List of all members
VRage.FileSystem.IFileProvider Interface Reference
Inheritance diagram for VRage.FileSystem.IFileProvider:
VRage.FileSystem.MyClassicFileProvider VRage.FileSystem.MyFileProviderAggregator VRage.FileSystem.MyZipFileProvider

Public Member Functions

Stream Open (string path, FileMode mode, FileAccess access, FileShare share)
 Opens file, returns null when file does not exists More...
 
bool DirectoryExists (string path)
 True if directory exists More...
 
IEnumerable< string > GetFiles (string path, string filter, MySearchOption searchOption)
 Returns list of files in directory More...
 
bool FileExists (string path)
 True if file exists More...
 

Detailed Description

Definition at line 26 of file IFileProvider.cs.

Member Function Documentation

bool VRage.FileSystem.IFileProvider.DirectoryExists ( string  path)
bool VRage.FileSystem.IFileProvider.FileExists ( string  path)
IEnumerable<string> VRage.FileSystem.IFileProvider.GetFiles ( string  path,
string  filter,
MySearchOption  searchOption 
)

Returns list of files in directory

Parameters
path
Returns

Implemented in VRage.FileSystem.MyZipFileProvider, VRage.FileSystem.MyFileProviderAggregator, and VRage.FileSystem.MyClassicFileProvider.

Stream VRage.FileSystem.IFileProvider.Open ( string  path,
FileMode  mode,
FileAccess  access,
FileShare  share 
)

Opens file, returns null when file does not exists

Implemented in VRage.FileSystem.MyFileProviderAggregator, VRage.FileSystem.MyZipFileProvider, and VRage.FileSystem.MyClassicFileProvider.


The documentation for this interface was generated from the following file: