public int this[MetaValued <T> key]
protected override List <InlineKeyboardButton> GetRowForElement(ISession session, MetaValued <T> element) =>
public void DecreaseVar(ISession session, MetaValued <T> variable) { MetaValuedContainer <T> container = session.Vars.GetVar <MetaValuedContainer <T> >(VarName); container.Add(variable, -1); }
private bool MoreThanZero(ISession session, MetaValued <T> variable) => session.Vars.GetVar <MetaValuedContainer <T> >(VarName).ContainsKey(variable);
public void SetVar(ISession session, MetaValued <T> variable) => IncreaseVar(session, variable);