C# Class Microsoft.Scripting.ScriptCode

ScriptCode is an instance of compiled code that is bound to a specific LanguageContext but not a specific ScriptScope. The code can be re-executed multiple times in different scopes. Hosting API counterpart for this class is CompiledCode.
Afficher le fichier Open project: jschementi/iron Class Usage Examples

Méthodes publiques

Méthode Description
CreateScope ( ) : Scope
Run ( ) : object
Run ( Scope scope ) : object

Méthodes protégées

Méthode Description
ScriptCode ( SourceUnit sourceUnit ) : System.Linq.Expressions

Private Methods

Méthode Description
ToString ( ) : string

Method Details

CreateScope() public méthode

public CreateScope ( ) : Scope
Résultat Scope

Run() public méthode

public Run ( ) : object
Résultat object

Run() public abstract méthode

public abstract Run ( Scope scope ) : object
scope Scope
Résultat object

ScriptCode() protected méthode

protected ScriptCode ( SourceUnit sourceUnit ) : System.Linq.Expressions
sourceUnit SourceUnit
Résultat System.Linq.Expressions