C# 클래스 MvbaCore.Services.FileSystemService

상속: IFileSystemService
파일 보기 프로젝트 열기: mvbalaw/MvbaCore

공개 메소드들

메소드 설명
AppendAllText ( string filePath, string textToAppend ) : void
CreateDirectory ( string directoryPath ) : DirectoryInfo
CreateFile ( string filePath ) : StreamWriter
CreateTextFile ( string filePath ) : TextWriter
DeleteDirectoryContents ( string dirPath ) : void
DeleteDirectoryRecursive ( string dirPath ) : void
DeleteFile ( string filePath ) : bool
DirectoryExists ( string directoryPath ) : bool
FileExists ( string filePath ) : bool
GetCurrentWebApplicationPath ( ) : string
GetDirectoryInfo ( string directoryPath ) : DirectoryInfo
GetFiles ( string filePath, string searchPattern ) : string[]
GetNamesOfFilesInDirectory ( string directoryPath ) : IEnumerable
MoveFile ( string oldFilePath, string newFilePath ) : void
OpenRead ( String filePath ) : Stream
ReadAllLines ( string filePath ) : string[]
ReadAllText ( string filePath ) : string
Writefile ( string filePath, Stream data ) : void
Writefile ( string filePath, string data ) : void

메소드 상세

AppendAllText() 공개 메소드

public AppendAllText ( string filePath, string textToAppend ) : void
filePath string
textToAppend string
리턴 void

CreateDirectory() 공개 메소드

public CreateDirectory ( string directoryPath ) : DirectoryInfo
directoryPath string
리턴 System.IO.DirectoryInfo

CreateFile() 공개 메소드

public CreateFile ( string filePath ) : StreamWriter
filePath string
리턴 System.IO.StreamWriter

CreateTextFile() 공개 메소드

public CreateTextFile ( string filePath ) : TextWriter
filePath string
리턴 System.IO.TextWriter

DeleteDirectoryContents() 공개 메소드

public DeleteDirectoryContents ( string dirPath ) : void
dirPath string
리턴 void

DeleteDirectoryRecursive() 공개 메소드

public DeleteDirectoryRecursive ( string dirPath ) : void
dirPath string
리턴 void

DeleteFile() 공개 메소드

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

DirectoryExists() 공개 메소드

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

FileExists() 공개 메소드

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

GetCurrentWebApplicationPath() 공개 메소드

public GetCurrentWebApplicationPath ( ) : string
리턴 string

GetDirectoryInfo() 공개 메소드

public GetDirectoryInfo ( string directoryPath ) : DirectoryInfo
directoryPath string
리턴 System.IO.DirectoryInfo

GetFiles() 공개 메소드

public GetFiles ( string filePath, string searchPattern ) : string[]
filePath string
searchPattern string
리턴 string[]

GetNamesOfFilesInDirectory() 공개 메소드

public GetNamesOfFilesInDirectory ( string directoryPath ) : IEnumerable
directoryPath string
리턴 IEnumerable

MoveFile() 공개 메소드

public MoveFile ( string oldFilePath, string newFilePath ) : void
oldFilePath string
newFilePath string
리턴 void

OpenRead() 공개 메소드

public OpenRead ( String filePath ) : Stream
filePath String
리턴 Stream

ReadAllLines() 공개 메소드

public ReadAllLines ( string filePath ) : string[]
filePath string
리턴 string[]

ReadAllText() 공개 메소드

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

Writefile() 공개 메소드

public Writefile ( string filePath, Stream data ) : void
filePath string
data Stream
리턴 void

Writefile() 공개 메소드

public Writefile ( string filePath, string data ) : void
filePath string
data string
리턴 void