C# Class Core.Repl

Inheritance: System.Windows.Controls.UserControl
Mostrar archivo Open project: jflam/repl-lib

Public Methods

Method Description
AddExternalObject ( string name, object obj ) : void
InsertInspectedResult ( Inline position, object obj ) : Inline
Repl ( ) : System

Private Methods

Method Description
ChangeRunUnderCursorToDefaultTextStyle ( ) : void
ColorizeSelection ( System.Windows.Documents.TextRange selection ) : Inline
Execute ( string code ) : object
GetInlineUnderPosition ( TextPointer position ) : Inline
GetParagraph ( Inline position ) : System.Windows.Documents.Paragraph
InitializePlugins ( ) : void
InitializeScriptEngines ( ) : void
InsertColorizedCode ( Inline position, string code ) : Inline
InsertElements ( Inline position, List runs ) : Inline
InsertInline ( Inline position, Inline element ) : Inline
InsertLineBreak ( Inline position ) : Inline
InsertSmartLineBreak ( ) : Inline
LoadInspector ( object obj ) : void
LoadResources ( ) : void
MainRepl_PreviewKeyDown ( object sender, System.Windows.Input.KeyEventArgs args ) : void
RenderError ( Inline position, string error ) : Inline
RenderOutput ( Inline position, object result ) : Inline
RunCurrentLine ( ) : Inline
RunSelection ( System.Windows.Documents.TextRange selection ) : Inline
SaveDocument ( ) : void

Method Details

AddExternalObject() public method

public AddExternalObject ( string name, object obj ) : void
name string
obj object
return void

InsertInspectedResult() public method

public InsertInspectedResult ( Inline position, object obj ) : Inline
position System.Windows.Documents.Inline
obj object
return System.Windows.Documents.Inline

Repl() public method

public Repl ( ) : System
return System