Пример #1
0
 public TransparentDictionary(SumLayer <TValue> sumLayer)
 {
     this.sumLayer   = sumLayer;
     opaqueLayer     = new OpaqueDictionary();
     layerID         = Guid.NewGuid();
     serializeOpaque = true;
 }
Пример #2
0
 /// <summary>
 /// Makes a new Transparent layer with the same opaque layer as
 /// value.
 /// </summary>
 /// <param name="transparent"></param>
 public TransparentDictionary(TransparentDictionary <TKey, TValue> transparent)
 {
     sumLayer        = transparent.sumLayer;
     opaqueLayer     = transparent.opaqueLayer;
     layerID         = Guid.NewGuid();
     serializeOpaque = false;
 }
Пример #3
0
 internal Enumerator(OpaqueDictionary opaque)
 {
     enumerator = opaque.buckets.GetEnumerator();
 }