Skip to content

v2.9.55

Compare
Choose a tag to compare
@JonathanMagnan JonathanMagnan released this 02 Oct 11:07
· 17 commits to master since this release

Download the library here

  • ADDED: Support to method when registering member via RegisterGlobalVariable
public class GlobalVariableMethod
{
	public int RegisteredMethodName(int i)
	{
		return i + 2;
	}
}
		
var variableName = new GlobalVariableMethod();
var context = new EvalContext();
context.RegisterGlobalVariable("CustomGlobalVariable", variableName, true);

var rTest = context.Execute("RegisteredMethodName(5)");

Trial unlocked for the current month (October)