MemoryFileSystem

MemoryFileSystem class

The MemoryFileSystem will maps the read/write operations to memory.

public class MemoryFileSystem : FileSystem

Constructors

Name Description
MemoryFileSystem() The default constructor.

Properties

Name Description
FileNames { get; } File names that in this memory file system.

Methods

Name Description
virtual Dispose() Dispose the File system and release its resources.
GetFileContent(string) Returns the raw content of the specified file. Throw FileNotFoundException if the specified file is not existing.
override ReadFile(string, IOConfig) Create a stream for reading dependencies.
override WriteFile(string, IOConfig) Create a stream for writing dependencies.

See Also