C# Class fs4net.Framework.Test.MockFileSystem

Inheritance: IFileSystem, IInternalFileSystem
Afficher le fichier Open project: toroso/fs4net

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
DirectoryDescribing ( string fullPath ) : RootedDirectory
DirectoryDescribingCurrentDirectory ( ) : RootedDirectory
DirectoryDescribingSpecialFolder ( Environment folder ) : RootedDirectory
DirectoryDescribingTemporaryDirectory ( ) : RootedDirectory
DirectoryFromCurrentDirectory ( string path ) : RootedDirectory
DriveDescribing ( string driveName ) : Drive
FileDescribing ( string fullPath ) : RootedFile
FileFromCurrentDirectory ( string path ) : RootedFile
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
IsDirectory ( RootedCanonicalPath path ) : bool
IsFile ( RootedCanonicalPath path ) : bool
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

Method Details

AllDrives() public méthode

public AllDrives ( ) : IEnumerable
Résultat IEnumerable

CopyAndOverwriteFile() public méthode

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

CopyFile() public méthode

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

CreateAppendStream() public méthode

public CreateAppendStream ( RootedCanonicalPath path ) : Stream
path RootedCanonicalPath
Résultat Stream

CreateDirectory() public méthode

public CreateDirectory ( RootedCanonicalPath path ) : void
path RootedCanonicalPath
Résultat void

CreateModifyStream() public méthode

public CreateModifyStream ( RootedCanonicalPath path ) : Stream
path RootedCanonicalPath
Résultat Stream

CreateReadStream() public méthode

public CreateReadStream ( RootedCanonicalPath path ) : Stream
path RootedCanonicalPath
Résultat Stream

CreateWriteStream() public méthode

public CreateWriteStream ( RootedCanonicalPath path ) : Stream
path RootedCanonicalPath
Résultat Stream

DeleteDirectory() public méthode

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

DeleteFile() public méthode

public DeleteFile ( RootedCanonicalPath path ) : void
path RootedCanonicalPath
Résultat void

DirectoryDescribing() public méthode

public DirectoryDescribing ( string fullPath ) : RootedDirectory
fullPath string
Résultat RootedDirectory

DirectoryDescribingCurrentDirectory() public méthode

public DirectoryDescribingCurrentDirectory ( ) : RootedDirectory
Résultat RootedDirectory

DirectoryDescribingSpecialFolder() public méthode

public DirectoryDescribingSpecialFolder ( Environment folder ) : RootedDirectory
folder System.Environment
Résultat RootedDirectory

DirectoryDescribingTemporaryDirectory() public méthode

public DirectoryDescribingTemporaryDirectory ( ) : RootedDirectory
Résultat RootedDirectory

DirectoryFromCurrentDirectory() public méthode

public DirectoryFromCurrentDirectory ( string path ) : RootedDirectory
path string
Résultat RootedDirectory

DriveDescribing() public méthode

public DriveDescribing ( string driveName ) : Drive
driveName string
Résultat Drive

FileDescribing() public méthode

public FileDescribing ( string fullPath ) : RootedFile
fullPath string
Résultat RootedFile

FileFromCurrentDirectory() public méthode

public FileFromCurrentDirectory ( string path ) : RootedFile
path string
Résultat RootedFile

GetCurrentDirectory() public méthode

public GetCurrentDirectory ( ) : string
Résultat string

GetDirectoriesInDirectory() public méthode

public GetDirectoriesInDirectory ( RootedCanonicalPath path ) : IEnumerable
path RootedCanonicalPath
Résultat IEnumerable

GetDirectoryCreationTime() public méthode

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

GetDirectoryLastAccessTime() public méthode

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

GetDirectoryLastWriteTime() public méthode

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

GetFileCreationTime() public méthode

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

GetFileLastAccessTime() public méthode

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

GetFileLastWriteTime() public méthode

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

GetFileSize() public méthode

public GetFileSize ( RootedCanonicalPath path ) : long
path RootedCanonicalPath
Résultat long

GetFilesInDirectory() public méthode

public GetFilesInDirectory ( RootedCanonicalPath path ) : IEnumerable
path RootedCanonicalPath
Résultat IEnumerable

IsDirectory() public méthode

public IsDirectory ( RootedCanonicalPath path ) : bool
path RootedCanonicalPath
Résultat bool

IsFile() public méthode

public IsFile ( RootedCanonicalPath path ) : bool
path RootedCanonicalPath
Résultat bool

MoveDirectory() public méthode

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

MoveFile() public méthode

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

SetCurrentDirectory() public méthode

public SetCurrentDirectory ( RootedCanonicalPath path ) : void
path RootedCanonicalPath
Résultat void

SetDirectoryCreationTime() public méthode

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

SetDirectoryLastAccessTime() public méthode

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

SetDirectoryLastWriteTime() public méthode

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

SetFileCreationTime() public méthode

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

SetFileLastAccessTime() public méthode

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

SetFileLastWriteTime() public méthode

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