C# Class fs4net.Framework.Impl.FileSystemImpl

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

Méthodes publiques

Méthode Description
CopyAndOverwriteFile ( RootedCanonicalPath source, RootedCanonicalPath destination ) : void
CopyFile ( RootedCanonicalPath source, RootedCanonicalPath destination ) : void
CreateAppendStream ( RootedCanonicalPath path ) : System.IO.Stream
CreateDirectory ( RootedCanonicalPath path ) : void
CreateModifyStream ( RootedCanonicalPath path ) : System.IO.Stream
CreateReadStream ( RootedCanonicalPath path ) : System.IO.Stream
CreateWriteStream ( RootedCanonicalPath path ) : System.IO.Stream
DeleteDirectory ( RootedCanonicalPath path, bool recursive ) : void
DeleteFile ( RootedCanonicalPath path ) : void
FileSystemImpl ( ) : System
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

Private Methods

Méthode Description
FullPathWithBackslashOnDrives ( string fullPath ) : string

Method Details

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 ) : System.IO.Stream
path RootedCanonicalPath
Résultat System.IO.Stream

CreateDirectory() public méthode

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

CreateModifyStream() public méthode

public CreateModifyStream ( RootedCanonicalPath path ) : System.IO.Stream
path RootedCanonicalPath
Résultat System.IO.Stream

CreateReadStream() public méthode

public CreateReadStream ( RootedCanonicalPath path ) : System.IO.Stream
path RootedCanonicalPath
Résultat System.IO.Stream

CreateWriteStream() public méthode

public CreateWriteStream ( RootedCanonicalPath path ) : System.IO.Stream
path RootedCanonicalPath
Résultat System.IO.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

FileSystemImpl() public méthode

public FileSystemImpl ( ) : System
Résultat System

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