C# Class fs4net.Memory.Impl.MemoryFileSystemImpl

Inheritance: IInternalFileSystem, IDisposable
Afficher le fichier Open project: toroso/fs4net Class Usage Examples

Méthodes publiques

Méthode Description
AllDrives ( ) : IEnumerable
CopyAndOverwriteFile ( RootedCanonicalPath source, RootedCanonicalPath destination ) : void
CopyFile ( RootedCanonicalPath source, RootedCanonicalPath destination ) : void
CreateAppendStream ( RootedCanonicalPath path ) : Stream
CreateDirectory ( RootedCanonicalPath path ) : void
CreateModifyStream ( RootedCanonicalPath path ) : Stream
CreateReadStream ( RootedCanonicalPath path ) : Stream
CreateWriteStream ( RootedCanonicalPath path ) : Stream
DeleteDirectory ( RootedCanonicalPath path, bool recursive ) : void
DeleteFile ( RootedCanonicalPath path ) : void
Dispose ( ) : void
GetCurrentDirectory ( ) : string
GetDirectoriesInDirectory ( RootedCanonicalPath path ) : IEnumerable
GetDirectoryCreationTime ( RootedCanonicalPath path ) : System.DateTime
GetDirectoryLastAccessTime ( RootedCanonicalPath path ) : System.DateTime
GetDirectoryLastWriteTime ( RootedCanonicalPath path ) : System.DateTime
GetFileCreationTime ( RootedCanonicalPath path ) : System.DateTime
GetFileLastAccessTime ( RootedCanonicalPath path ) : System.DateTime
GetFileLastWriteTime ( RootedCanonicalPath path ) : System.DateTime
GetFileSize ( RootedCanonicalPath path ) : long
GetFilesInDirectory ( RootedCanonicalPath path ) : IEnumerable
GetTemporaryDirectory ( ) : string
IsDirectory ( RootedCanonicalPath path ) : bool
IsFile ( RootedCanonicalPath path ) : bool
MemoryFileSystemImpl ( ) : System
MoveDirectory ( RootedCanonicalPath source, RootedCanonicalPath destination ) : void
MoveFile ( RootedCanonicalPath source, RootedCanonicalPath destination ) : void
SetCurrentDirectory ( RootedCanonicalPath path ) : void
SetDirectoryCreationTime ( RootedCanonicalPath path, System.DateTime at ) : void
SetDirectoryLastAccessTime ( RootedCanonicalPath path, System.DateTime at ) : void
SetDirectoryLastWriteTime ( RootedCanonicalPath path, System.DateTime at ) : void
SetFileCreationTime ( RootedCanonicalPath path, System.DateTime at ) : void
SetFileLastAccessTime ( RootedCanonicalPath path, System.DateTime at ) : void
SetFileLastWriteTime ( RootedCanonicalPath path, System.DateTime at ) : void
ToString ( ) : string
WithDrives ( string driveNames ) : void

Private Methods

Méthode Description
CreateDirectory ( string path ) : void
CreateFile ( string path ) : FileNode
CreateFile ( string path, Func createStrategy ) : FileNode
CreateOrReuseFile ( string path ) : FileNode
FindFileNodeByPath ( string path ) : FileNode
FindFolderNodeByPath ( string path ) : FolderNode
FindNodeByPath ( string path ) : FileSystemNode
MoveFileSystemItem ( FileSystemNode sourceNode, RootedCanonicalPath destination ) : void

Method Details

AllDrives() public méthode

public AllDrives ( ) : IEnumerable
Résultat IEnumerable

CopyAndOverwriteFile() public méthode

public CopyAndOverwriteFile ( RootedCanonicalPath source, RootedCanonicalPath destination ) : void
source fs4net.Framework.RootedCanonicalPath
destination fs4net.Framework.RootedCanonicalPath
Résultat void

CopyFile() public méthode

public CopyFile ( RootedCanonicalPath source, RootedCanonicalPath destination ) : void
source fs4net.Framework.RootedCanonicalPath
destination fs4net.Framework.RootedCanonicalPath
Résultat void

CreateAppendStream() public méthode

public CreateAppendStream ( RootedCanonicalPath path ) : Stream
path fs4net.Framework.RootedCanonicalPath
Résultat Stream

CreateDirectory() public méthode

public CreateDirectory ( RootedCanonicalPath path ) : void
path fs4net.Framework.RootedCanonicalPath
Résultat void

CreateModifyStream() public méthode

public CreateModifyStream ( RootedCanonicalPath path ) : Stream
path fs4net.Framework.RootedCanonicalPath
Résultat Stream

CreateReadStream() public méthode

public CreateReadStream ( RootedCanonicalPath path ) : Stream
path fs4net.Framework.RootedCanonicalPath
Résultat Stream

CreateWriteStream() public méthode

public CreateWriteStream ( RootedCanonicalPath path ) : Stream
path fs4net.Framework.RootedCanonicalPath
Résultat Stream

DeleteDirectory() public méthode

public DeleteDirectory ( RootedCanonicalPath path, bool recursive ) : void
path fs4net.Framework.RootedCanonicalPath
recursive bool
Résultat void

DeleteFile() public méthode

public DeleteFile ( RootedCanonicalPath path ) : void
path fs4net.Framework.RootedCanonicalPath
Résultat void

Dispose() public méthode

public Dispose ( ) : void
Résultat void

GetCurrentDirectory() public méthode

public GetCurrentDirectory ( ) : string
Résultat string

GetDirectoriesInDirectory() public méthode

public GetDirectoriesInDirectory ( RootedCanonicalPath path ) : IEnumerable
path fs4net.Framework.RootedCanonicalPath
Résultat IEnumerable

GetDirectoryCreationTime() public méthode

public GetDirectoryCreationTime ( RootedCanonicalPath path ) : System.DateTime
path fs4net.Framework.RootedCanonicalPath
Résultat System.DateTime

GetDirectoryLastAccessTime() public méthode

public GetDirectoryLastAccessTime ( RootedCanonicalPath path ) : System.DateTime
path fs4net.Framework.RootedCanonicalPath
Résultat System.DateTime

GetDirectoryLastWriteTime() public méthode

public GetDirectoryLastWriteTime ( RootedCanonicalPath path ) : System.DateTime
path fs4net.Framework.RootedCanonicalPath
Résultat System.DateTime

GetFileCreationTime() public méthode

public GetFileCreationTime ( RootedCanonicalPath path ) : System.DateTime
path fs4net.Framework.RootedCanonicalPath
Résultat System.DateTime

GetFileLastAccessTime() public méthode

public GetFileLastAccessTime ( RootedCanonicalPath path ) : System.DateTime
path fs4net.Framework.RootedCanonicalPath
Résultat System.DateTime

GetFileLastWriteTime() public méthode

public GetFileLastWriteTime ( RootedCanonicalPath path ) : System.DateTime
path fs4net.Framework.RootedCanonicalPath
Résultat System.DateTime

GetFileSize() public méthode

public GetFileSize ( RootedCanonicalPath path ) : long
path fs4net.Framework.RootedCanonicalPath
Résultat long

GetFilesInDirectory() public méthode

public GetFilesInDirectory ( RootedCanonicalPath path ) : IEnumerable
path fs4net.Framework.RootedCanonicalPath
Résultat IEnumerable

GetTemporaryDirectory() public méthode

public GetTemporaryDirectory ( ) : string
Résultat string

IsDirectory() public méthode

public IsDirectory ( RootedCanonicalPath path ) : bool
path fs4net.Framework.RootedCanonicalPath
Résultat bool

IsFile() public méthode

public IsFile ( RootedCanonicalPath path ) : bool
path fs4net.Framework.RootedCanonicalPath
Résultat bool

MemoryFileSystemImpl() public méthode

public MemoryFileSystemImpl ( ) : System
Résultat System

MoveDirectory() public méthode

public MoveDirectory ( RootedCanonicalPath source, RootedCanonicalPath destination ) : void
source fs4net.Framework.RootedCanonicalPath
destination fs4net.Framework.RootedCanonicalPath
Résultat void

MoveFile() public méthode

public MoveFile ( RootedCanonicalPath source, RootedCanonicalPath destination ) : void
source fs4net.Framework.RootedCanonicalPath
destination fs4net.Framework.RootedCanonicalPath
Résultat void

SetCurrentDirectory() public méthode

public SetCurrentDirectory ( RootedCanonicalPath path ) : void
path fs4net.Framework.RootedCanonicalPath
Résultat void

SetDirectoryCreationTime() public méthode

public SetDirectoryCreationTime ( RootedCanonicalPath path, System.DateTime at ) : void
path fs4net.Framework.RootedCanonicalPath
at System.DateTime
Résultat void

SetDirectoryLastAccessTime() public méthode

public SetDirectoryLastAccessTime ( RootedCanonicalPath path, System.DateTime at ) : void
path fs4net.Framework.RootedCanonicalPath
at System.DateTime
Résultat void

SetDirectoryLastWriteTime() public méthode

public SetDirectoryLastWriteTime ( RootedCanonicalPath path, System.DateTime at ) : void
path fs4net.Framework.RootedCanonicalPath
at System.DateTime
Résultat void

SetFileCreationTime() public méthode

public SetFileCreationTime ( RootedCanonicalPath path, System.DateTime at ) : void
path fs4net.Framework.RootedCanonicalPath
at System.DateTime
Résultat void

SetFileLastAccessTime() public méthode

public SetFileLastAccessTime ( RootedCanonicalPath path, System.DateTime at ) : void
path fs4net.Framework.RootedCanonicalPath
at System.DateTime
Résultat void

SetFileLastWriteTime() public méthode

public SetFileLastWriteTime ( RootedCanonicalPath path, System.DateTime at ) : void
path fs4net.Framework.RootedCanonicalPath
at System.DateTime
Résultat void

ToString() public méthode

public ToString ( ) : string
Résultat string

WithDrives() public méthode

public WithDrives ( string driveNames ) : void
driveNames string
Résultat void