C# 클래스 NuDeploy.Core.Common.FilesystemAccess.PhysicalFilesystemAccessor

상속: IFilesystemAccessor
파일 보기 프로젝트 열기: andreaskoch/NuDeploy 1 사용 예제들

공개 메소드들

메소드 설명
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

메소드 상세

CopyFile() 공개 메소드

public CopyFile ( string sourceFilePath, string targetPath ) : bool
sourceFilePath string
targetPath string
리턴 bool

CreateDirectory() 공개 메소드

public CreateDirectory ( string path ) : bool
path string
리턴 bool

DeleteDirectory() 공개 메소드

public DeleteDirectory ( string folderPath ) : bool
folderPath string
리턴 bool

DeleteFile() 공개 메소드

public DeleteFile ( string filePath ) : bool
filePath string
리턴 bool

DirectoryExists() 공개 메소드

public DirectoryExists ( string directoryPath ) : bool
directoryPath string
리턴 bool

EnsureParentDirectoryExists() 공개 메소드

public EnsureParentDirectoryExists ( string filePath ) : bool
filePath string
리턴 bool

FileExists() 공개 메소드

public FileExists ( string filePath ) : bool
filePath string
리턴 bool

GetAllFiles() 공개 메소드

public GetAllFiles ( string path ) : IEnumerable
path string
리턴 IEnumerable

GetFileContent() 공개 메소드

public GetFileContent ( string filePath ) : string
filePath string
리턴 string

GetFiles() 공개 메소드

public GetFiles ( string path ) : IEnumerable
path string
리턴 IEnumerable

GetReadStream() 공개 메소드

public GetReadStream ( string filePath ) : Stream
filePath string
리턴 Stream

GetSubDirectories() 공개 메소드

public GetSubDirectories ( string path ) : IEnumerable
path string
리턴 IEnumerable

GetTextReader() 공개 메소드

public GetTextReader ( string filePath ) : TextReader
filePath string
리턴 TextReader

GetTextWriter() 공개 메소드

public GetTextWriter ( string filePath ) : TextWriter
filePath string
리턴 TextWriter

GetWriteStream() 공개 메소드

public GetWriteStream ( string filePath ) : Stream
filePath string
리턴 Stream

MoveFile() 공개 메소드

public MoveFile ( string sourceFilePath, string targetFilePath ) : bool
sourceFilePath string
targetFilePath string
리턴 bool

PhysicalFilesystemAccessor() 공개 메소드

public PhysicalFilesystemAccessor ( IEncodingProvider encodingProvider ) : System
encodingProvider IEncodingProvider
리턴 System

WriteContentToFile() 공개 메소드

public WriteContentToFile ( string content, string filePath ) : bool
content string
filePath string
리턴 bool