C# Класс Simple.Wpf.FSharp.Repl.UI.Controllers.ReplEngineController

Controller for the REPL engine UI, exposes the ViewModel.
Наследование: IReplEngineController, IDisposable
Показать файл Открыть проект

Открытые методы

Метод Описание
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.

Приватные методы

Метод Описание
CreateEngine ( string workingDirectory ) : IReplEngine
CreateViewModelAndStartEngine ( ) : IReplEngineViewModel

Описание методов

Dispose() публичный Метод

Disposes the controller.
public Dispose ( ) : void
Результат void

Execute() публичный Метод

Execute the script
public Execute ( string script ) : void
script string The script to execute.
Результат void

ReplEngineController() публичный Метод

Creates an instance of the controller.
public ReplEngineController ( string startupScript ) : System
startupScript string The script to run at startup, default is null.
Результат System

ReplEngineController() публичный Метод

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.
Результат System

ReplEngineController() публичный Метод

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.
Результат System