CSharpTest.Net
IConcurrentDictionary<TKey,TValue> Interface Members
See Also  Methods  Send Feedback Download Help File
CSharpTest.Net.Library Assembly > CSharpTest.Net.Collections Namespace : IConcurrentDictionary<TKey,TValue> Interface


Glossary Item Box

The following tables list the members exposed by IConcurrentDictionary<TKey,TValue>.

Public Methods

 NameDescription
 MethodAddOrUpdateOverloaded. Adds a key/value pair to the IDictionary if the key does not already exist, or updates a key/value pair if the key already exists.  
 MethodGetOrAddAdds a key/value pair to the IDictionary if the key does not already exist.  
 MethodTryAddAdds an element with the provided key and value to the IDictionary by calling the provided factory method to construct the value if the key is not already present in the collection.  
 MethodTryRemoveOverloaded. Removes the element with the specified key from the IDictionary if the fnCondition predicate is null or returns true.  
 MethodTryUpdateModify the value associated with the result of the provided update method as an atomic operation, Allows for reading/writing a single record within the tree lock. Be cautious about the behavior and performance of the code provided as it can cause a dead-lock to occur. If the method returns an instance who .Equals the original, no update is applied.  
Top

See Also

Generated with Document! X 2011 by Innovasys