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