Example #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);
 }
Example #2
0
        public void CopyTo(LightDictionary <KeyType, ItemValueType> dest)
        {
            KeyValuePair currentItem = head;

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