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

Public Member Functions

 MyFileProviderAggregator (params IFileProvider[] providers)
 
void AddProvider (IFileProvider provider)
 
void RemoveProvider (IFileProvider provider)
 
Stream OpenRead (string path)
 
Stream OpenWrite (string path, FileMode mode=FileMode.OpenOrCreate)
 
Stream Open (string path, FileMode mode, FileAccess access, FileShare share)
 Opens file, returns null when file does not exists or cannot be opened 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...
 

Properties

HashSetReader< IFileProviderProviders [get]
 

Detailed Description

Definition at line 10 of file MyFileProviderAggregator.cs.

Constructor & Destructor Documentation

VRage.FileSystem.MyFileProviderAggregator.MyFileProviderAggregator ( params IFileProvider[]  providers)
inline

Definition at line 14 of file MyFileProviderAggregator.cs.

Member Function Documentation

void VRage.FileSystem.MyFileProviderAggregator.AddProvider ( IFileProvider  provider)
inline

Definition at line 20 of file MyFileProviderAggregator.cs.

bool VRage.FileSystem.MyFileProviderAggregator.DirectoryExists ( string  path)
inline

True if directory exists

Parameters
path
Returns

Implements VRage.FileSystem.IFileProvider.

Definition at line 63 of file MyFileProviderAggregator.cs.

bool VRage.FileSystem.MyFileProviderAggregator.FileExists ( string  path)
inline

True if file exists

Parameters
path
Returns

Implements VRage.FileSystem.IFileProvider.

Definition at line 93 of file MyFileProviderAggregator.cs.

IEnumerable<string> VRage.FileSystem.MyFileProviderAggregator.GetFiles ( string  path,
string  filter,
MySearchOption  searchOption 
)
inline

Returns list of files in directory

Parameters
path
Returns

Implements VRage.FileSystem.IFileProvider.

Definition at line 77 of file MyFileProviderAggregator.cs.

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

Opens file, returns null when file does not exists or cannot be opened

Implements VRage.FileSystem.IFileProvider.

Definition at line 48 of file MyFileProviderAggregator.cs.

Stream VRage.FileSystem.MyFileProviderAggregator.OpenRead ( string  path)
inline

Definition at line 35 of file MyFileProviderAggregator.cs.

Stream VRage.FileSystem.MyFileProviderAggregator.OpenWrite ( string  path,
FileMode  mode = FileMode.OpenOrCreate 
)
inline

Definition at line 40 of file MyFileProviderAggregator.cs.

void VRage.FileSystem.MyFileProviderAggregator.RemoveProvider ( IFileProvider  provider)
inline

Definition at line 25 of file MyFileProviderAggregator.cs.

Property Documentation

HashSetReader<IFileProvider> VRage.FileSystem.MyFileProviderAggregator.Providers
get

Definition at line 31 of file MyFileProviderAggregator.cs.


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