Click or drag to resize
WeakReferenceDictionaryTKey, TValue Class
Represents a dictionary that holds WeakReferences to its values.
Inheritance Hierarchy
SystemObject
  Telerik.Windows.Diagrams.CoreWeakReferenceDictionaryTKey, TValue

Namespace: Telerik.Windows.Diagrams.Core
Assembly: Telerik.Windows.Diagrams.Core (in Telerik.Windows.Diagrams.Core.dll) Version: 2017.2.614.40 (2017.2.614.40)
Syntax
public class WeakReferenceDictionary<TKey, TValue> : IDictionary<TKey, TValue>, 
	ICollection<KeyValuePair<TKey, TValue>>, IEnumerable<KeyValuePair<TKey, TValue>>, 
	IEnumerable

Type Parameters

TKey
TValue

The WeakReferenceDictionaryTKey, TValue type exposes the following members.

Constructors
Methods
  NameDescription
Public methodAdd
Adds the specified key and value to the dictionary.
Public methodClear
Removes all keys and values from the dictionary.
Public methodContains
Determines whether a sequence contains a specified element.
Public methodContainsKey
Determines whether the dictionary contains the specified key.
Public methodCopyTo
Copies the elements of the dictionary to an array, starting at a particular index.
Public methodGetEnumerator
Returns an enumerator that iterates through the dictionary.
Public methodRemove
Removes the value with the specified key from the dictionary.
Public methodTryGetValue
Gets the value associated with the specified key.
Top
Extension Methods
  NameDescription
Public Extension MethodAddRangeKeyValuePairTKey, TValue(IEnumerableKeyValuePairTKey, TValue)Overloaded.
Adds the elements from the specified collection - items to the end of the target collection.
(Defined by CollectionExtensions.)
Public Extension MethodAddRangeKeyValuePairTKey, TValue(IEnumerableKeyValuePairTKey, TValue)Overloaded.
Adds the given range of items to the current collection.
(Defined by CommonExtensions.)
Public Extension MethodAppendKeyValuePairTKey, TValue(IEnumerableKeyValuePairTKey, TValue)Overloaded.
Appends elements from two sequences.
(Defined by CollectionExtensions.)
Public Extension MethodAppendKeyValuePairTKey, TValue(KeyValuePairTKey, TValue)Overloaded.
Appends an element to a sequence.
(Defined by CollectionExtensions.)
Public Extension MethodAppendKeyValuePairTKey, TValue(IEnumerableKeyValuePairTKey, TValue)Overloaded. (Defined by EnumerableExtensions.)
Public Extension MethodAppendKeyValuePairTKey, TValue(KeyValuePairTKey, TValue)Overloaded. (Defined by EnumerableExtensions.)
Public Extension MethodCloneKeyValuePairTKey, TValue
Clones the list.
(Defined by CommonExtensions.)
Public Extension MethodContainsAnyKeyValuePairTKey, TValue
Checks for the occurrence of the given items in the collection.
(Defined by CommonExtensions.)
Public Extension MethodForEachKeyValuePairTKey, TValue
Executes the action for each item in the collection.
(Defined by CommonExtensions.)
Public Extension MethodRemoveAllKeyValuePairTKey, TValue
Removes all elements from a collection that match the condition defined by the specified predicate.
(Defined by CollectionExtensions.)
Public Extension MethodTakeAfterKeyValuePairTKey, TValue
Bypasses elements from a sequence as long as a specified condition is true and then returns the remaining elements.
(Defined by CollectionExtensions.)
Public Extension MethodTakeBeforeKeyValuePairTKey, TValue
Bypasses elements from a sequence until the specified condition becomes true.
(Defined by CollectionExtensions.)
Public Extension MethodTakeBetweenKeyValuePairTKey, TValue(FuncKeyValuePairTKey, TValue, Boolean, FuncKeyValuePairTKey, TValue, Boolean)Overloaded.
Bypasses elements from a sequence as long as the first condition is false. Returns elements from the remaining elements as long the second condition is false.
(Defined by CollectionExtensions.)
Public Extension MethodTakeBetweenKeyValuePairTKey, TValue(KeyValuePairTKey, TValue, KeyValuePairTKey, TValue)Overloaded.
Returns elements from a sequence as long as they are between the two items.
(Defined by CollectionExtensions.)
Public Extension MethodTakeFromKeyValuePairTKey, TValue(FuncKeyValuePairTKey, TValue, Boolean)Overloaded.
Bypasses elements from a sequence as long as a specified condition is false and then returns the element that satisfies the condition and the elements after.
(Defined by CollectionExtensions.)
Public Extension MethodTakeFromKeyValuePairTKey, TValue(KeyValuePairTKey, TValue)Overloaded.
Bypasses elements from a sequence as long as the element is not equal to the items in the sequence.
(Defined by CollectionExtensions.)
Public Extension MethodTakeToKeyValuePairTKey, TValue(FuncKeyValuePairTKey, TValue, Boolean)Overloaded.
Returns elements from a sequence as long as a specified condition is false. This method also returns the first element that satisfies the condition.
(Defined by CollectionExtensions.)
Public Extension MethodTakeToKeyValuePairTKey, TValue(KeyValuePairTKey, TValue)Overloaded.
Returns elements from a sequence as long as the sequence elements differs from the item.
(Defined by CollectionExtensions.)
Top
Properties
  NameDescription
Public propertyCount
Gets the number of elements contained in the dictionary.
Public propertyIsReadOnly
Gets a value indicating whether the dictionary is read-only.
Public propertyItem
Gets or sets the value associated with the specified key.
Public propertyKeys
Gets an ICollection containing the keys of the dictionary.
Public propertyValues
Gets an ICollection containing the values in the dictionary.
Top
See Also