C# Class Rossbot.Api.ScriptExecuter

Afficher le fichier Open project: fekberg/Roslyn-IRC-Bot Class Usage Examples

Méthodes publiques

Méthode Description
Execute ( string code ) : object
ScanSyntax ( IEnumerable syntaxNodes ) : bool
Validate ( string code ) : bool

Private Methods

Méthode Description
CreateSandbox ( ) : AppDomain
FormatResult ( object input ) : string

Method Details

Execute() public méthode

public Execute ( string code ) : object
code string
Résultat object

ScanSyntax() public méthode

public ScanSyntax ( IEnumerable syntaxNodes ) : bool
syntaxNodes IEnumerable
Résultat bool

Validate() public méthode

public Validate ( string code ) : bool
code string
Résultat bool