Beispiel #1
0
 /// <summary>
 /// Returns node enumeration containing all nodes in the storage
 /// </summary>
 /// <returns>Nodes identifiers</returns>
 public IEnumerable EnumerateNodes()
 {
     rwLock.AcquireReaderLock(-1);
     try
     {
         return(storage.ListKeys());
     }
     finally
     {
         rwLock.ReleaseLock();
     }
 }
 /// <summary>
 /// Returns node enumeration containing all nodes in the storage
 /// </summary>
 /// <returns>Nodes identifiers</returns>
 public IEnumerable EnumerateNodes()
 {
     return(storage.ListKeys());
 }