CSharpTest.Net
LurchTable<TKey,TValue> Class Members
See Also  Properties  Methods  Events Send Feedback Download Help File
CSharpTest.Net.Library Assembly > CSharpTest.Net.Collections Namespace : LurchTable<TKey,TValue> Class


Glossary Item Box

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

Public Constructors

 NameDescription
Public ConstructorLurchTable<TKey,TValue> ConstructorOverloaded.   
Top

Public Properties

 NameDescription
Public PropertyComparerRetrives the key comparer being used by this instance.  
Public PropertyCountGets the number of elements contained in the ICollection.  
Public PropertyItemGets or sets the element with the specified key.  
Public PropertyKeysGets an ICollection containing the keys of the IDictionary.  
Public PropertyLimitRetrives the record limit allowed in this instance.  
Public PropertyOrderingRetrieves the LurchTableOrder Ordering enumeration this instance was created with.  
Public PropertyValuesGets an ICollection containing the values in the IDictionary.  
Top

Public Methods

 NameDescription
Public MethodAddAdds an element with the provided key and value to the IDictionary.  
Public 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.  
Public MethodClearRemoves all items from the ICollection.  
Public MethodContainsKeyDetermines whether the IDictionary contains an element with the specified key.  
Public MethodDequeueRemoves the oldest entry in the collection based on the ordering supplied to the constructor. If an item is not available a busy-wait loop is used to wait for for an item.  
Public MethodDisposeClears references to all objects and invalidates the collection  
Public MethodGetEnumeratorReturns an enumerator that iterates through the collection.  
Public MethodGetOrAddOverloaded. Adds a key/value pair to the IDictionary if the key does not already exist.  
Public MethodInitializeWARNING: not thread-safe, reinitializes all internal structures. Use Clear() for a thread-safe delete all. If you have externally provided exclusive access this method may be used to more efficiently clear the collection.  
Public MethodPeekRetrieves the oldest entry in the collection based on the ordering supplied to the constructor.  
Public MethodRemoveRemoves the element with the specified key from the IDictionary.  
Public MethodTryAddOverloaded. Adds an element with the provided key and value to the IDictionary.  
Public MethodTryDequeueOverloaded. Removes the oldest entry in the collection based on the ordering supplied to the constructor.  
Public MethodTryGetValueGets the value associated with the specified key.  
Public MethodTryRemoveOverloaded. Removes the element with the specified key from the IDictionary.  
Public MethodTryUpdateOverloaded. Updates an element with the provided key to the value if it exists.  
Top

Public Events

 NameDescription
Public EventItemAddedEvent raised after an item is added to the collection  
Public EventItemRemovedEvent raised after an item is removed from the collection  
Public EventItemUpdatedEvent raised after an item is updated in the collection  
Top

See Also

Generated with Document! X 2011 by Innovasys