C# 클래스 Terraria.Utilities.FileUtilities

파일 보기 프로젝트 열기: EmuDevs/EDTerraria

공개 메소드들

메소드 설명
Copy ( string source, string destination, bool overwrite = true ) : void
Delete ( string path ) : void
Exists ( string path ) : bool
GetFileName ( string path, bool includeExtension = true ) : string
GetFullPath ( string path ) : string
GetParentFolderPath ( string path, bool includeExtension = true ) : string
Move ( string source, string destination, bool overwrite = true ) : void
ReadAllBytes ( string path ) : byte[]
Write ( string path, byte data, int length ) : void
WriteAllBytes ( string path, byte data ) : void

메소드 상세

Copy() 공개 정적인 메소드

public static Copy ( string source, string destination, bool overwrite = true ) : void
source string
destination string
overwrite bool
리턴 void

Delete() 공개 정적인 메소드

public static Delete ( string path ) : void
path string
리턴 void

Exists() 공개 정적인 메소드

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

GetFileName() 공개 정적인 메소드

public static GetFileName ( string path, bool includeExtension = true ) : string
path string
includeExtension bool
리턴 string

GetFullPath() 공개 정적인 메소드

public static GetFullPath ( string path ) : string
path string
리턴 string

GetParentFolderPath() 공개 정적인 메소드

public static GetParentFolderPath ( string path, bool includeExtension = true ) : string
path string
includeExtension bool
리턴 string

Move() 공개 정적인 메소드

public static Move ( string source, string destination, bool overwrite = true ) : void
source string
destination string
overwrite bool
리턴 void

ReadAllBytes() 공개 정적인 메소드

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

Write() 공개 정적인 메소드

public static Write ( string path, byte data, int length ) : void
path string
data byte
length int
리턴 void

WriteAllBytes() 공개 정적인 메소드

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