C# Class Simple.Wpf.FSharp.Repl.UI.Controllers.ReplEngineController

Controller for the REPL engine UI, exposes the ViewModel.
Inheritance: IReplEngineController, IDisposable
ファイルを表示 Open project: oriches/Simple.Wpf.FSharp.Repl

Public Methods

Method Description
Dispose ( ) : void

Disposes the controller.

Execute ( string script ) : void

Execute the script

ReplEngineController ( string startupScript ) : System

Creates an instance of the controller.

ReplEngineController ( string startupScript, string workingDirectory ) : System

Creates an instance of the controller.

ReplEngineController ( string startupScript = null, string workingDirectory = null, IReplEngine replEngine = null, IProcessService processService = null, IScheduler dispatcherScheduler = null, IScheduler taskScheduler = null ) : System

Creates an instance of the controller.

Private Methods

Method Description
CreateEngine ( string workingDirectory ) : IReplEngine
CreateViewModelAndStartEngine ( ) : IReplEngineViewModel

Method Details

Dispose() public method

Disposes the controller.
public Dispose ( ) : void
return void

Execute() public method

Execute the script
public Execute ( string script ) : void
script string The script to execute.
return void

ReplEngineController() public method

Creates an instance of the controller.
public ReplEngineController ( string startupScript ) : System
startupScript string The script to run at startup, default is null.
return System

ReplEngineController() public method

Creates an instance of the controller.
public ReplEngineController ( string startupScript, string workingDirectory ) : System
startupScript string The script to run at startup, default is null.
workingDirectory string The working directory, default is null.
return System

ReplEngineController() public method

Creates an instance of the controller.
public ReplEngineController ( string startupScript = null, string workingDirectory = null, IReplEngine replEngine = null, IProcessService processService = null, IScheduler dispatcherScheduler = null, IScheduler taskScheduler = null ) : System
startupScript string The script to run at startup, default is null.
workingDirectory string The working directory, default is null.
replEngine IReplEngine The REPL engine.
processService IProcessService Service for starting windows processes.
dispatcherScheduler IScheduler The Reactive extensions shceduler for the UI thread (dispatcher).
taskScheduler IScheduler The Reactive extensiosn scheduler for the task pool scheduler.
return System