C# 클래스 StoryTeller.Persistence.FileSystem

상속: IFileSystem
파일 보기 프로젝트 열기: adymitruk/storyteller

공개 메소드들

메소드 설명
CreateFolder ( string path ) : void
DeleteFile ( string filename ) : void
DeleteFolder ( string folder ) : void
FileExists ( string path ) : bool
GetFiles ( string folderPath, string extensionWithoutPeriod ) : string[]
GetSubFolders ( string folderPath ) : string[]
ReadStringFromFile ( string filename ) : string
WriteStringToFile ( string text, string filename ) : void

메소드 상세

CreateFolder() 공개 메소드

public CreateFolder ( string path ) : void
path string
리턴 void

DeleteFile() 공개 메소드

public DeleteFile ( string filename ) : void
filename string
리턴 void

DeleteFolder() 공개 메소드

public DeleteFolder ( string folder ) : void
folder string
리턴 void

FileExists() 공개 메소드

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

GetFiles() 공개 메소드

public GetFiles ( string folderPath, string extensionWithoutPeriod ) : string[]
folderPath string
extensionWithoutPeriod string
리턴 string[]

GetSubFolders() 공개 메소드

public GetSubFolders ( string folderPath ) : string[]
folderPath string
리턴 string[]

ReadStringFromFile() 공개 메소드

public ReadStringFromFile ( string filename ) : string
filename string
리턴 string

WriteStringToFile() 공개 메소드

public WriteStringToFile ( string text, string filename ) : void
text string
filename string
리턴 void