C# Class Phantom.Core.PlatformAdaptationLayer

Inheritance: IFileAdaptionLayer
Exibir arquivo Open project: emilcardell/Phantom

Public Properties

Property Type Description
Default PlatformAdaptationLayer

Public Methods

Method Description
DirectoryExists ( string path ) : bool
FileExists ( string path ) : bool
GetDirectories ( string path, string searchPattern ) : string[]
GetEnvironmentVariable ( string key ) : string
GetEnvironmentVariables ( ) : IDictionary
GetFileName ( string file ) : string
GetFiles ( string path, string searchPattern ) : string[]
GetFullPath ( string path ) : string
IsAbsolutePath ( string path ) : bool
LoadAssembly ( string name ) : Assembly
LoadAssemblyFromPath ( string path ) : Assembly
OpenInputFileStream ( string path ) : Stream
OpenInputFileStream ( string path, FileMode mode, FileAccess access, FileShare share ) : Stream
OpenInputFileStream ( string path, FileMode mode, FileAccess access, FileShare share, int bufferSize ) : Stream
OpenOutputFileStream ( string path ) : Stream
SetEnvironmentVariable ( string key, string value ) : void
TerminateScriptExecution ( int exitCode ) : void

Method Details

DirectoryExists() public method

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

FileExists() public method

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

GetDirectories() public method

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

GetEnvironmentVariable() public method

public GetEnvironmentVariable ( string key ) : string
key string
return string

GetEnvironmentVariables() public method

public GetEnvironmentVariables ( ) : IDictionary
return IDictionary

GetFileName() public method

public GetFileName ( string file ) : string
file string
return string

GetFiles() public method

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

GetFullPath() public method

public GetFullPath ( string path ) : string
path string
return string

IsAbsolutePath() public method

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

LoadAssembly() public method

public LoadAssembly ( string name ) : Assembly
name string
return System.Reflection.Assembly

LoadAssemblyFromPath() public method

public LoadAssemblyFromPath ( string path ) : Assembly
path string
return System.Reflection.Assembly

OpenInputFileStream() public method

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

OpenInputFileStream() public method

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

OpenInputFileStream() public method

public OpenInputFileStream ( string path, FileMode mode, FileAccess access, FileShare share, int bufferSize ) : Stream
path string
mode FileMode
access FileAccess
share FileShare
bufferSize int
return Stream

OpenOutputFileStream() public method

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

SetEnvironmentVariable() public method

public SetEnvironmentVariable ( string key, string value ) : void
key string
value string
return void

TerminateScriptExecution() public method

public TerminateScriptExecution ( int exitCode ) : void
exitCode int
return void

Property Details

Default public_oe static_oe property

public static PlatformAdaptationLayer,Phantom.Core Default
return PlatformAdaptationLayer