Example #1
0
 /// <summary>
 /// Copies the elements of the LazyDictionary to an Array, starting at a particular Array index.
 /// </summary>
 /// <param name="array">The one-dimensional Array that is the destination of the elements copied from LazyDictionary.
 /// The Array must have zero-based indexing.</param>
 /// <param name="arrayIndex">The zero-based index in array at which copying begins.</param>
 public void CopyTo(KeyValuePair <TKey, TValue>[] array, int arrayIndex)
 {
     InnerDictionary.CopyTo(array, arrayIndex);
 }
 public void CopyTo(KeyValuePair <string, object>[] array, int arrayIndex)
 {
     InnerDictionary.CopyTo(array, arrayIndex);
 }
Example #3
0
 /// <inheritdoc />
 public void CopyTo(KeyValuePair <TKey, TValue>[] array, int arrayIndex)
 {
     using (writeLock.LockRead())
         InnerDictionary.CopyTo(array, arrayIndex);
 }