abstract class Tinman.Core.IO.Files.FileSystem

Derived from

Disposable abstract

Extended by

HttpFileSystem sealed
LocalFileSystem sealed
MemoryFileSystem sealed
VirtualFileSystem sealed

Abstract base class for IFileSystem implementations.

The FileSystem class maintains a global list of the instances of its subclasses: using the constructor will add the new object to that list.

Public / Constructors


public static method From → (1)

path in : Path

The path.

returns → FileSystem

The FileSystem or null.

Returns the first FileSystem object in the global list that owns the given path.

Protected / Constructors


protected constructor FileSystem → ()

Creates a new instance of FileSystem.

This instance will be appended to the global list of FileSystem objects.

Protected / Attributes


protected attribute invalidCharacters → (IBag<char>)

The set of invalid characters.

Subclasses may add characters to this set in the constructor.