C# 클래스 Dev2.Common.Wrappers.FileWrapper

상속: IFile
파일 보기 프로젝트 열기: Warewolf-ESB/Warewolf 1 사용 예제들

공개 메소드들

메소드 설명
Copy ( string source, string destination ) : void
Delete ( string tmpFileName ) : void
Exists ( string path ) : bool
Move ( string source, string destination ) : void
Open ( string fileName, FileMode fileMode ) : Stream
ReadAllBytes ( string path ) : byte[]
ReadAllText ( string fileName ) : string
WriteAllBytes ( string path, byte contents ) : void
WriteAllText ( string path, string contents ) : void

메소드 상세

Copy() 공개 메소드

public Copy ( string source, string destination ) : void
source string
destination string
리턴 void

Delete() 공개 메소드

public Delete ( string tmpFileName ) : void
tmpFileName string
리턴 void

Exists() 공개 메소드

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

Move() 공개 메소드

public Move ( string source, string destination ) : void
source string
destination string
리턴 void

Open() 공개 메소드

public Open ( string fileName, FileMode fileMode ) : Stream
fileName string
fileMode FileMode
리턴 System.IO.Stream

ReadAllBytes() 공개 메소드

public ReadAllBytes ( string path ) : byte[]
path string
리턴 byte[]

ReadAllText() 공개 메소드

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

WriteAllBytes() 공개 메소드

public WriteAllBytes ( string path, byte contents ) : void
path string
contents byte
리턴 void

WriteAllText() 공개 메소드

public WriteAllText ( string path, string contents ) : void
path string
contents string
리턴 void