DynamicFileSystem

Namespace: uModIO

Assembly: uMod.Core.dll

Inheritance ObjectDynamicDataSystem<String> DynamicFileSystem

Implements IDynamicDataSystem<String>, IDataSystem<String>, IDynamicFileSystem, IDisposable

Summary

Represents a dynamic file system

Constructors

Name

Summary

DynamicFileSystem (String)

Create new dynamic file system

DynamicFileSystem (DataCategory)

Create a new dynamic file system

DynamicFileSystem (String, DataCategory)

Methods

Name

Summary

Delete (String)

Delete file(s) matching the following path or path pattern

Delete (IEnumerable<String>)

Delete<TValue> (String)

Delete file(s) matching the following path or path pattern

Delete (Type, String)

Delete file(s) matching the following path or path pattern

Dispose ()

Disposes of DynamicFileSystem

Exists (String)

Check if data file exists

Exists<TValue> (String)

Check if data file exists

Exists (Type, String)

Check if data file exists

GetDataFile<TValue> (String)

Gets data file of the generic type for the specified path

GetDataFile (Type, String)

Gets data file for the specified type and specified path

GetFiles (String)

Gets enumerable of files within directory

GetFiles<TValue> (String)

Gets enumerable of files within directory

GetFiles (Type, String)

Gets enumerable of files within directory

ReadObject<TValue> (String, Boolean)

Read object from specified path

ReadObject (Type, String, Boolean)

Read object of specified type from specified path

ReadObjects (Type, IEnumerable<String>, Boolean)

Read multiple objects of specified type from specified paths

ReadObjects (Type, IEnumerable<String>, Boolean, String)

Read multiple objects of specified type from specified paths

ReadObjects<TValue> (IEnumerable<String>, Boolean, String)

Read objects of generic type from specified paths

ReadObjects (IDictionary<Type, String>, Boolean, String)

Read objects of specified types and paths

Save<TValue> (IDataFile<TValue>, TValue)

Save object of generic type and object to the specified data file

WriteObject (String, Object)

Write object to the specified path

WriteObject<TValue> (String, TValue)

Write object of generic type to the specified path

WriteObjects (IDictionary<String, Object>)

Write objects to the specified paths

WriteObjects (IDictionary<String, Object>, String)

Write objects to the specified paths

WriteObjects<TValue> (IDictionary<String, TValue>, String)

Write objects of the generic type to the specified paths