C# (CSharp) Mono.CSharp Evaluator.Compile - 5 examples found. These are the top rated real world C# (CSharp) examples of Mono.CSharp.Evaluator.Compile extracted from open source projects. You can rate examples to help us improve the quality of examples.
Compiles the input string and returns a delegate that represents the compiled code.
Compiles the input string as a C# expression or statement, unlike the Evaluate method, the resulting delegate can be invoked multiple times without incurring in the compilation overhead. This method can only deal with fully formed input strings and does not provide a completion mechanism. If you must deal with partial input (for example for interactive use) use the other overload. On success, a delegate is returned that can be used to invoke the method.