Mono Class Library: Mono.CSharp.Evaluator Overview | MembersMono.CSharp.Evaluator.Run Method |
Executes the given expression or statement. [Edit]
|
- statement
- A statement to execute. [Edit]
True if the code was succesfully parsed. [Edit]
Executes the provided statement, returns true on success, false on parsing errors. Exceptions might be thrown by the called code.
[Edit]
C# Example // First setup the active using statements: Evaluator.Run ("using System;"); Evaluator.Run ("Console.WriteLine (\"Hello, World\");
Namespace: Mono.CSharp
Assembly: Mono.CSharp (in Mono.CSharp.dll)
Assembly Versions: 2.1.0.0