예제 #1
0
 /// <summary>
 /// Safe conversion to array of values
 /// </summary>
 /// <returns></returns>
 public TValue[] SafeGetValueArray()
 {
     lock (_syncObject)
     {
         return(ArrayExt.ToArray <TValue>(base.Values));
     }
 }
예제 #2
0
 /// <summary>
 /// Safe conversion to array of keys
 /// </summary>
 /// <returns></returns>
 public TKey[] SafeGetKeyArray()
 {
     lock (_syncObject)
     {
         return(ArrayExt.ToArray <TKey>(base.Keys));
     }
 }