C# Class Glare.Assets.FileManager.FileSystemContextClass

Inheritance: FileManager
显示文件 Open project: Burton-Radons/Alexandria

Public Methods

Method Description
Exists ( string path ) : bool
GetFiles ( string path, string pattern, SearchOption option = SearchOption.TopDirectoryOnly ) : string[]
Open ( string path, FileMode mode, FileAccess access, FileShare share ) : Stream

Method Details

Exists() public method

public Exists ( string path ) : bool
path string
return bool

GetFiles() public method

public GetFiles ( string path, string pattern, SearchOption option = SearchOption.TopDirectoryOnly ) : string[]
path string
pattern string
option SearchOption
return string[]

Open() public method

public Open ( string path, FileMode mode, FileAccess access, FileShare share ) : Stream
path string
mode FileMode
access FileAccess
share FileShare
return Stream