public RuntimeVariables(IDictionary <string, object> locals) : base(locals.Count, DefaultComparer) { current = new VariableIndexList(null, locals.Count); if (locals == null) { throw new System.ArgumentNullException(nameof(locals)); } foreach (var item in locals) { Add(item.Key, item.Value); } }
internal RuntimeVariables() : base(0, DefaultComparer) { current = new VariableIndexList(null, 0); }
internal RuntimeVariables(int capacity) : base(capacity, DefaultComparer) { current = new VariableIndexList(null, capacity); }