public void DecreaseVar(ISession session, MetaValued <T> variable) { MetaValuedContainer <T> container = session.Vars.GetVar <MetaValuedContainer <T> >(VarName); container.Add(variable, -1); }
public void SetVar(ISession session, MetaValuedContainer <T> variable) => session.Vars.SetVar(VarName, variable);