You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
ADDED: Extension method added using AddMethod can now use other extension methods without having to use the variable (the call to Test111() was not working before in previous version)
varcontext=newEvalContext();context.UnregisterAll();context.RegisterType(typeof(PlayerJournal));context.AddMethod(@"public bool Test111(this PlayerJournal pj){ return true;}");// this method was not working beforecontext.AddMethod(@"public bool Test222(this PlayerJournal pj){ return Test111();}");varc1=context.Compile<Func<PlayerJournal,bool>>("Test222()");
ADDED:MaxLoopIteration option to allow to set a limit for the maximum loop a for, foreach, while, do while` statement can do before throwing an error (for security purpose)