public IMap Add(JwtMember value) { IMap map; if (value.Name.Equals(_value1.Name)) { map = new TwoElementMap(value, _value2); } else if (value.Name.Equals(_value2.Name)) { map = new TwoElementMap(_value1, value); } else { map = new ThreeElementMap(_value1, _value2, value); } return(map); }
internal ObjectEnumerator(TwoElementMap map) { _map = map; _counter = 0; }