C# Class Microsoft.Scripting.PlatformAdaptationLayer

Exibir arquivo Open project: jschementi/iron Class Usage Examples

Public Properties

Property Type Description
IsCompactFramework bool

Private Properties

Property Type Description
AddAssemblyMappings void
GetEnvironmentVariables System.Collections.IDictionary
LoadAssemblyFromPath System.Reflection.Assembly
LoadSilverlightAssemblyNameMapping void
SetEmptyEnvironmentVariable void
SetEnvironmentVariable void

Public Methods

Method Description
CombinePaths ( string path1, string path2 ) : string
CreateDirectory ( string path ) : void
DeleteDirectory ( string path, bool recursive ) : void
DeleteFile ( string path, bool deleteReadOnly ) : void
DirectoryExists ( string path ) : bool
FileExists ( string path ) : bool
GetDirectories ( string path, string searchPattern ) : string[]
GetDirectoryName ( string path ) : string
GetEnvironmentVariable ( string key ) : string
GetExtension ( string path ) : string
GetFileName ( string path ) : string
GetFileNameWithoutExtension ( string path ) : string
GetFileSystemEntries ( string path, string searchPattern ) : string[]
GetFileSystemEntries ( string path, string searchPattern, bool includeFiles, bool includeDirectories ) : string[]
GetFiles ( string path, string searchPattern ) : string[]
GetFullPath ( string path ) : string
IsAbsolutePath ( string path ) : bool
LoadAssembly ( string name ) : Assembly
MoveFileSystemEntry ( string sourcePath, string destinationPath ) : void
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
PlatformAdaptationLayer ( ) : System.Linq.Expressions
TerminateScriptExecution ( int exitCode ) : void

Protected Methods

Method Description
LookupFullName ( string name ) : string

Private Methods

Method Description
AddAssemblyMappings ( AssemblyName keyVersion ) : void
GetEnvironmentVariables ( ) : System.Collections.IDictionary
LoadAssemblyFromPath ( string path ) : Assembly
LoadSilverlightAssemblyNameMapping ( ) : void
SetEmptyEnvironmentVariable ( string key ) : void
SetEnvironmentVariable ( string key, string value ) : void

Method Details

CombinePaths() public method

public CombinePaths ( string path1, string path2 ) : string
path1 string
path2 string
return string

CreateDirectory() public method

public CreateDirectory ( string path ) : void
path string
return void

DeleteDirectory() public method

public DeleteDirectory ( string path, bool recursive ) : void
path string
recursive bool
return void

DeleteFile() public method

public DeleteFile ( string path, bool deleteReadOnly ) : void
path string
deleteReadOnly bool
return void

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[]

GetDirectoryName() public method

public GetDirectoryName ( string path ) : string
path string
return string

GetEnvironmentVariable() public method

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

GetExtension() public method

public GetExtension ( string path ) : string
path string
return string

GetFileName() public method

public GetFileName ( string path ) : string
path string
return string

GetFileNameWithoutExtension() public method

public GetFileNameWithoutExtension ( string path ) : string
path string
return string

GetFileSystemEntries() public method

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

GetFileSystemEntries() public method

public GetFileSystemEntries ( string path, string searchPattern, bool includeFiles, bool includeDirectories ) : string[]
path string
searchPattern string
includeFiles bool
includeDirectories bool
return string[]

GetFiles() public method

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

GetFullPath() public method

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

IsAbsolutePath() public method

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

LoadAssembly() public method

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

LookupFullName() protected method

protected LookupFullName ( string name ) : string
name string
return string

MoveFileSystemEntry() public method

public MoveFileSystemEntry ( string sourcePath, string destinationPath ) : void
sourcePath string
destinationPath string
return void

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

PlatformAdaptationLayer() public method

public PlatformAdaptationLayer ( ) : System.Linq.Expressions
return System.Linq.Expressions

TerminateScriptExecution() public method

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

Property Details

IsCompactFramework public_oe static_oe property

public static bool IsCompactFramework
return bool