C# Class NuDeploy.Core.Common.FilesystemAccess.PhysicalFilesystemAccessor

Inheritance: IFilesystemAccessor
Afficher le fichier Open project: andreaskoch/NuDeploy Class Usage Examples

Méthodes publiques

Méthode Description
CopyFile ( string sourceFilePath, string targetPath ) : bool
CreateDirectory ( string path ) : bool
DeleteDirectory ( string folderPath ) : bool
DeleteFile ( string filePath ) : bool
DirectoryExists ( string directoryPath ) : bool
EnsureParentDirectoryExists ( string filePath ) : bool
FileExists ( string filePath ) : bool
GetAllFiles ( string path ) : IEnumerable
GetFileContent ( string filePath ) : string
GetFiles ( string path ) : IEnumerable
GetReadStream ( string filePath ) : Stream
GetSubDirectories ( string path ) : IEnumerable
GetTextReader ( string filePath ) : TextReader
GetTextWriter ( string filePath ) : TextWriter
GetWriteStream ( string filePath ) : Stream
MoveFile ( string sourceFilePath, string targetFilePath ) : bool
PhysicalFilesystemAccessor ( IEncodingProvider encodingProvider ) : System
WriteContentToFile ( string content, string filePath ) : bool

Method Details

CopyFile() public méthode

public CopyFile ( string sourceFilePath, string targetPath ) : bool
sourceFilePath string
targetPath string
Résultat bool

CreateDirectory() public méthode

public CreateDirectory ( string path ) : bool
path string
Résultat bool

DeleteDirectory() public méthode

public DeleteDirectory ( string folderPath ) : bool
folderPath string
Résultat bool

DeleteFile() public méthode

public DeleteFile ( string filePath ) : bool
filePath string
Résultat bool

DirectoryExists() public méthode

public DirectoryExists ( string directoryPath ) : bool
directoryPath string
Résultat bool

EnsureParentDirectoryExists() public méthode

public EnsureParentDirectoryExists ( string filePath ) : bool
filePath string
Résultat bool

FileExists() public méthode

public FileExists ( string filePath ) : bool
filePath string
Résultat bool

GetAllFiles() public méthode

public GetAllFiles ( string path ) : IEnumerable
path string
Résultat IEnumerable

GetFileContent() public méthode

public GetFileContent ( string filePath ) : string
filePath string
Résultat string

GetFiles() public méthode

public GetFiles ( string path ) : IEnumerable
path string
Résultat IEnumerable

GetReadStream() public méthode

public GetReadStream ( string filePath ) : Stream
filePath string
Résultat Stream

GetSubDirectories() public méthode

public GetSubDirectories ( string path ) : IEnumerable
path string
Résultat IEnumerable

GetTextReader() public méthode

public GetTextReader ( string filePath ) : TextReader
filePath string
Résultat TextReader

GetTextWriter() public méthode

public GetTextWriter ( string filePath ) : TextWriter
filePath string
Résultat TextWriter

GetWriteStream() public méthode

public GetWriteStream ( string filePath ) : Stream
filePath string
Résultat Stream

MoveFile() public méthode

public MoveFile ( string sourceFilePath, string targetFilePath ) : bool
sourceFilePath string
targetFilePath string
Résultat bool

PhysicalFilesystemAccessor() public méthode

public PhysicalFilesystemAccessor ( IEncodingProvider encodingProvider ) : System
encodingProvider IEncodingProvider
Résultat System

WriteContentToFile() public méthode

public WriteContentToFile ( string content, string filePath ) : bool
content string
filePath string
Résultat bool