C# Class Rossbot.Api.ScriptExecuter

Mostrar archivo Open project: fekberg/Roslyn-IRC-Bot Class Usage Examples

Public Methods

Method Description
Execute ( string code ) : object
ScanSyntax ( IEnumerable syntaxNodes ) : bool
Validate ( string code ) : bool

Private Methods

Method Description
CreateSandbox ( ) : AppDomain
FormatResult ( object input ) : string

Method Details

Execute() public method

public Execute ( string code ) : object
code string
return object

ScanSyntax() public method

public ScanSyntax ( IEnumerable syntaxNodes ) : bool
syntaxNodes IEnumerable
return bool

Validate() public method

public Validate ( string code ) : bool
code string
return bool