Post­Sharp Documentation / API Reference / Post­Sharp.​Patterns.​Collections Namespace / Advisable­Dictionary(TKey, TValue).​Value­Collection Class

AdvisableDictionary<TKey, TValue>.ValueCollection Class

Represents the collection of values in an AdvisableDictionary<TKey, TValue>.
Inheritance Hierarchy
System.Object
  PostSharp.Patterns.Collections.AdvisableDictionary<TKey, TValue>.ValueCollection

Namespace:  PostSharp.Patterns.Collections
Assembly:  PostSharp.Patterns.Common (in PostSharp.Patterns.Common.dll) Version: 6.1.3.0 (6.1.3.0)
Syntax
C#
public sealed class ValueCollection : ICollection<TValue>, 
	IEnumerable<TValue>, IEnumerable, ICollection

The AdvisableDictionary<TKey, TValue>.ValueCollection generic type exposes the following members.

Properties
  NameDescription
Public propertyCount
Gets the number of elements contained in the ICollection<T>.
Methods
  NameDescription
Public methodCopyTo
Copies the elements of the ICollection<T> to an Array, starting at a particular Array index.
Public methodGetEnumerator
Returns an enumerator that iterates through the AdvisableDictionary<TKey, TValue>.ValueCollection.
Extension Methods
  NameDescription
Public Extension MethodToAdvisableCollection<TValue>
Converts an IEnumerable<T> into an AdvisableCollection<T>.
(Defined by Extensions.)
Public Extension MethodToAdvisableDictionary<TValue, TKey, TValue>
Converts an IEnumerable<T> into a AdvisableDictionary<TKey, TValue> given a method returning the item key and a method returning the item value.
(Defined by Extensions.)
Public Extension MethodToAdvisableHashSet<TValue>
Converts an IEnumerable<T> into an AdvisableHashSet<T>.
(Defined by Extensions.)
See Also