CompilingExpressionEvaluator TContext, TResult, TArg  Constructor NFX Class Library

[This is preliminary documentation and is subject to change.]

Allocates a new expression. This call fails if the scope was already compiled

Namespace: NFX.Parsing
Assembly: NFX (in NFX.dll) Version: 3.0.0.1 (3.0.0.1)
Syntax

public CompilingExpressionEvaluator(
	string scope,
	string expression,
	IEnumerable<string> referencedAssemblies = null,
	IEnumerable<string> usings = null
)

Parameters

scope
Type: OnlineSystem String
A valid identifier for namespace sub-path like "mycode.test" no leading or trailing "."
expression
Type: OnlineSystem String
A C# expression to compile
referencedAssemblies (Optional)
Type: OnlineSystem.Collections.Generic IEnumerable OnlineString 
An enumerable of assemblies that compiler should reference while building scope assembly i.e. "MyCompany.dll"
usings (Optional)
Type: OnlineSystem.Collections.Generic IEnumerable OnlineString 
Extra usings i.e. "System.IO", "MyCode.Routines" etc.
See Also