C# Class Junior.Route.AspNetIntegration.FileSystem

Inheritance: IFileSystem
Datei anzeigen Open project: nathan-alden/junior-route

Public Methods

Method Description
AbsolutePath ( string relativePath ) : string
CombineRelativePaths ( ) : string
CombineRelativePaths ( IEnumerable relativePaths ) : string
DirectoryExists ( string directory ) : bool
FileExists ( string path ) : bool
FileSize ( string path ) : int
FileSystem ( IHttpRuntime httpRuntime ) : System
GetDirectoryFiles ( string path ) : string[]
GetDirectoryFiles ( string path, string searchPattern ) : string[]
GetDirectoryFiles ( string path, string searchPattern, SearchOption searchOption ) : string[]
OpenFile ( string path ) : Stream
OpenFile ( string path, FileMode mode ) : Stream
OpenFile ( string path, FileMode mode, FileAccess access ) : Stream
OpenFile ( string path, FileMode mode, FileAccess access, FileShare share ) : Stream

Method Details

AbsolutePath() public method

public AbsolutePath ( string relativePath ) : string
relativePath string
return string

CombineRelativePaths() public method

public CombineRelativePaths ( ) : string
return string

CombineRelativePaths() public method

public CombineRelativePaths ( IEnumerable relativePaths ) : string
relativePaths IEnumerable
return string

DirectoryExists() public method

public DirectoryExists ( string directory ) : bool
directory string
return bool

FileExists() public method

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

FileSize() public method

public FileSize ( string path ) : int
path string
return int

FileSystem() public method

public FileSystem ( IHttpRuntime httpRuntime ) : System
httpRuntime IHttpRuntime
return System

GetDirectoryFiles() public method

public GetDirectoryFiles ( string path ) : string[]
path string
return string[]

GetDirectoryFiles() public method

public GetDirectoryFiles ( string path, string searchPattern ) : string[]
path string
searchPattern string
return string[]

GetDirectoryFiles() public method

public GetDirectoryFiles ( string path, string searchPattern, SearchOption searchOption ) : string[]
path string
searchPattern string
searchOption SearchOption
return string[]

OpenFile() public method

public OpenFile ( string path ) : Stream
path string
return Stream

OpenFile() public method

public OpenFile ( string path, FileMode mode ) : Stream
path string
mode FileMode
return Stream

OpenFile() public method

public OpenFile ( string path, FileMode mode, FileAccess access ) : Stream
path string
mode FileMode
access FileAccess
return Stream

OpenFile() public method

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