Ejemplo n.º 1
0
 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);
     }
 }
Ejemplo n.º 2
0
 internal RuntimeVariables() : base(0, DefaultComparer)
 {
     current = new VariableIndexList(null, 0);
 }
Ejemplo n.º 3
0
 internal RuntimeVariables(int capacity) : base(capacity, DefaultComparer)
 {
     current = new VariableIndexList(null, capacity);
 }