C# 클래스 IronRuby.Ruby

파일 보기 프로젝트 열기: jschementi/iron

공개 메소드들

메소드 설명
CreateEngine ( ) : ScriptEngine

Creates a new script runtime and returns its IronRuby engine. The configuration of the runtime is loaded from .NET configuration files if available.

Creates a runtime using CreateRuntime() method.

CreateEngine ( Action setupInitializer ) : ScriptEngine

Creates a new script runtime and returns its IronRuby engine. The configuration of the runtime is loaded from .NET configuration files if available.

CreateRubySetup ( ) : LanguageSetup

Creates IronRuby setup with default language names and file extensions.

CreateRubySetup ( Action initializer ) : LanguageSetup

Creates a default IronRuby setup and passes it to the given delegate for initialization.

CreateRuntime ( ) : ScriptRuntime

Creates a new script runtime configured using .NET configuration files. A default IronRuby configuration is added if not found anywhere in the .NET configuration files.

CreateRuntime ( ScriptRuntimeSetup setup ) : ScriptRuntime

Creates a runtime given a runtime setup.

GetEngine ( ScriptRuntime runtime ) : ScriptEngine

Retrieves an IronRuby engine from a given script runtime.

비공개 메소드들

메소드 설명
IndexOfRubySetup ( ScriptRuntimeSetup runtimeSetup ) : int

메소드 상세

CreateEngine() 공개 정적인 메소드

Creates a new script runtime and returns its IronRuby engine. The configuration of the runtime is loaded from .NET configuration files if available.
Creates a runtime using CreateRuntime() method.
public static CreateEngine ( ) : ScriptEngine
리턴 ScriptEngine

CreateEngine() 공개 정적인 메소드

Creates a new script runtime and returns its IronRuby engine. The configuration of the runtime is loaded from .NET configuration files if available.
public static CreateEngine ( Action setupInitializer ) : ScriptEngine
setupInitializer Action /// Delegate that receives an instance of IronRuby's loaded from the .NET configuration /// and can set its properties before it is used for runtime configuration. /// If no IronRuby setup information is found in the .NET configuration a default one is created and passed to the initializer. ///
리턴 ScriptEngine

CreateRubySetup() 공개 정적인 메소드

Creates IronRuby setup with default language names and file extensions.
public static CreateRubySetup ( ) : LanguageSetup
리턴 LanguageSetup

CreateRubySetup() 공개 정적인 메소드

Creates a default IronRuby setup and passes it to the given delegate for initialization.
public static CreateRubySetup ( Action initializer ) : LanguageSetup
initializer Action /// A delegate that receives a fresh instance of IronRuby's /// and can set its properties before it is used for runtime configuration. ///
리턴 LanguageSetup

CreateRuntime() 공개 정적인 메소드

Creates a new script runtime configured using .NET configuration files. A default IronRuby configuration is added if not found anywhere in the .NET configuration files.
public static CreateRuntime ( ) : ScriptRuntime
리턴 Microsoft.Scripting.Hosting.ScriptRuntime

CreateRuntime() 공개 정적인 메소드

Creates a runtime given a runtime setup.
public static CreateRuntime ( ScriptRuntimeSetup setup ) : ScriptRuntime
setup Microsoft.Scripting.Hosting.ScriptRuntimeSetup The setup to use to configure the runtime. It provides all information that's needed for the runtime initialization.
리턴 Microsoft.Scripting.Hosting.ScriptRuntime

GetEngine() 공개 정적인 메소드

Retrieves an IronRuby engine from a given script runtime.
/// The is not set up to run IronRuby. /// The doesn't contain IronRuby's . ///
public static GetEngine ( ScriptRuntime runtime ) : ScriptEngine
runtime Microsoft.Scripting.Hosting.ScriptRuntime The runtime to get the engine from.
리턴 ScriptEngine