C# Class Phantom.Core.PlatformAdaptationLayer

Inheritance: IFileAdaptionLayer
Afficher le fichier Open project: emilcardell/Phantom

Méthodes publiques

Свойство Type Description
Default PlatformAdaptationLayer

Méthodes publiques

Méthode 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 méthode

public DirectoryExists ( string path ) : bool
path string
Résultat bool

FileExists() public méthode

public FileExists ( string path ) : bool
path string
Résultat bool

GetDirectories() public méthode

public GetDirectories ( string path, string searchPattern ) : string[]
path string
searchPattern string
Résultat string[]

GetEnvironmentVariable() public méthode

public GetEnvironmentVariable ( string key ) : string
key string
Résultat string

GetEnvironmentVariables() public méthode

public GetEnvironmentVariables ( ) : IDictionary
Résultat IDictionary

GetFileName() public méthode

public GetFileName ( string file ) : string
file string
Résultat string

GetFiles() public méthode

public GetFiles ( string path, string searchPattern ) : string[]
path string
searchPattern string
Résultat string[]

GetFullPath() public méthode

public GetFullPath ( string path ) : string
path string
Résultat string

IsAbsolutePath() public méthode

public IsAbsolutePath ( string path ) : bool
path string
Résultat bool

LoadAssembly() public méthode

public LoadAssembly ( string name ) : Assembly
name string
Résultat System.Reflection.Assembly

LoadAssemblyFromPath() public méthode

public LoadAssemblyFromPath ( string path ) : Assembly
path string
Résultat System.Reflection.Assembly

OpenInputFileStream() public méthode

public OpenInputFileStream ( string path ) : Stream
path string
Résultat Stream

OpenInputFileStream() public méthode

public OpenInputFileStream ( string path, FileMode mode, FileAccess access, FileShare share ) : Stream
path string
mode FileMode
access FileAccess
share FileShare
Résultat Stream

OpenInputFileStream() public méthode

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

OpenOutputFileStream() public méthode

public OpenOutputFileStream ( string path ) : Stream
path string
Résultat Stream

SetEnvironmentVariable() public méthode

public SetEnvironmentVariable ( string key, string value ) : void
key string
value string
Résultat void

TerminateScriptExecution() public méthode

public TerminateScriptExecution ( int exitCode ) : void
exitCode int
Résultat void

Property Details

Default public_oe static_oe property

public static PlatformAdaptationLayer,Phantom.Core Default
Résultat PlatformAdaptationLayer