C# 클래스 ShiftRight.Web.WebFileStorage

상속: ShiftRight.Common.IStorage
파일 보기 프로젝트 열기: shiftright/scg-heim

공개 메소드들

메소드 설명
DeleteDirectory ( string path ) : void
DeleteFile ( string filename ) : void
EnsureRootExist ( ) : bool

GetAbsolutePath ( string relativePath ) : string
GetFileNames ( string directory ) : IEnumerable
GetFileStream ( string path, FileMode mode ) : Stream
Save ( System stream, string path ) : void
WebFileStorage ( ) : System
WebFileStorage ( string rootPath ) : System

보호된 메소드들

메소드 설명
LoadConfiguration ( ) : void

메소드 상세

DeleteDirectory() 공개 메소드

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

DeleteFile() 공개 메소드

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

EnsureRootExist() 공개 메소드

public EnsureRootExist ( ) : bool
리턴 bool

GetAbsolutePath() 공개 메소드

public GetAbsolutePath ( string relativePath ) : string
relativePath string
리턴 string

GetFileNames() 공개 메소드

public GetFileNames ( string directory ) : IEnumerable
directory string
리턴 IEnumerable

GetFileStream() 공개 메소드

public GetFileStream ( string path, FileMode mode ) : Stream
path string
mode FileMode
리턴 System.IO.Stream

LoadConfiguration() 보호된 메소드

protected LoadConfiguration ( ) : void
리턴 void

Save() 공개 메소드

public Save ( System stream, string path ) : void
stream System
path string
리턴 void

WebFileStorage() 공개 메소드

public WebFileStorage ( ) : System
리턴 System

WebFileStorage() 공개 메소드

public WebFileStorage ( string rootPath ) : System
rootPath string
리턴 System