C# Class Core.Repl

Inheritance: System.Windows.Controls.UserControl
Afficher le fichier Open project: jflam/repl-lib

Méthodes publiques

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

Private Methods

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

public AddExternalObject ( string name, object obj ) : void
name string
obj object
Résultat void

InsertInspectedResult() public méthode

public InsertInspectedResult ( Inline position, object obj ) : Inline
position System.Windows.Documents.Inline
obj object
Résultat System.Windows.Documents.Inline

Repl() public méthode

public Repl ( ) : System
Résultat System