Esempio n. 1
0
 public BoolList(bool emptyListValue, BoolListOperatorType operatorType, ReadByNonExistentKeyMode readByNonExistentKeyMode)
 {
     this.emptyListValue = emptyListValue;
     this.resultValue    = emptyListValue;
     this.operatorType   = operatorType;
     list = new LightDictionary <string, bool>(readByNonExistentKeyMode);
 }
Esempio n. 2
0
        public void CopyTo(LightDictionary <KeyType, ItemValueType> dest)
        {
            KeyValuePair currentItem = head;

            while (currentItem != null)
            {
                dest[currentItem.Key] = currentItem.Value;
                currentItem           = currentItem.Next;
            }
        }
Esempio n. 3
0
 public void Dispose()
 {
     source  = null;
     current = null;
 }
Esempio n. 4
0
 public ValuesEnumerator(LightDictionary <KeyType, ItemValueType> source)
 {
     this.source = source;
     this.init   = true;
 }