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

Controller for the REPL engine UI, exposes the ViewModel.
Inheritance: IReplEngineController, IDisposable
Afficher le fichier Open project: oriches/Simple.Wpf.FSharp.Repl

Méthodes publiques

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

Méthode Description
CreateEngine ( string workingDirectory ) : IReplEngine
CreateViewModelAndStartEngine ( ) : IReplEngineViewModel

Method Details

Dispose() public méthode

Disposes the controller.
public Dispose ( ) : void
Résultat void

Execute() public méthode

Execute the script
public Execute ( string script ) : void
script string The script to execute.
Résultat void

ReplEngineController() public méthode

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

ReplEngineController() public méthode

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.
Résultat System

ReplEngineController() public méthode

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.
Résultat System