C# Class Microsoft.Scripting.Hosting.ScriptRuntimeSetup

ファイルを表示 Open project: jschementi/iron Class Usage Examples

Private Properties

Property Type Description
CheckFrozen void
Freeze void
ToConfiguration Microsoft.Scripting.Runtime.DlrConfiguration

Public Methods

Method Description
ReadConfiguration ( ) : ScriptRuntimeSetup

Reads setup from .NET configuration system (.config files). If there is no configuration available returns an empty setup.

ReadConfiguration ( Stream configFileStream ) : ScriptRuntimeSetup

Reads setup from a specified XML stream.

ReadConfiguration ( string configFilePath ) : ScriptRuntimeSetup

Reads setup from a specified XML file.

ScriptRuntimeSetup ( ) : System

Private Methods

Method Description
CheckFrozen ( ) : void
Freeze ( ReadOnlyCollection setups ) : void
ToConfiguration ( ) : DlrConfiguration

Method Details

ReadConfiguration() public static method

Reads setup from .NET configuration system (.config files). If there is no configuration available returns an empty setup.
public static ReadConfiguration ( ) : ScriptRuntimeSetup
return ScriptRuntimeSetup

ReadConfiguration() public static method

Reads setup from a specified XML stream.
public static ReadConfiguration ( Stream configFileStream ) : ScriptRuntimeSetup
configFileStream Stream
return ScriptRuntimeSetup

ReadConfiguration() public static method

Reads setup from a specified XML file.
public static ReadConfiguration ( string configFilePath ) : ScriptRuntimeSetup
configFilePath string
return ScriptRuntimeSetup

ScriptRuntimeSetup() public method

public ScriptRuntimeSetup ( ) : System
return System