DictionarySet is an abstract class that supports the creation of new Set types where the underlying data store is an IDictionary instance.

You can use any object that implements the IDictionary interface to hold set data. You can define your own, or you can use one of the objects provided in the Framework. The type of IDictionary you choose will affect both the performance and the behavior of the Set using it.

To make a Set typed based on your own IDictionary, simply derive a new class with a constructor that takes no parameters. Some Set implmentations cannot be defined with a default constructor. If this is the case for your class, you will need to override Clone() as well.

It is also standard practice that at least one of your constructors takes an ICollection or an ISet as an argument.

Namespace: Iesi.Collections.Generic
Assembly: Iesi.Collections (in Iesi.Collections.dll) Version: 1.0.1.0 (3.2.0.4000)

Syntax

C#
[SerializableAttribute]
public abstract class DictionarySet<T> : Set<T>
Visual Basic
<SerializableAttribute> _
Public MustInherit Class DictionarySet(Of T) _
	Inherits Set(Of T)
Visual C++
[SerializableAttribute]
generic<typename T>
public ref class DictionarySet abstract : public Set<T>

Type Parameters

T

[Missing <typeparam name="T"/> documentation for "T:Iesi.Collections.Generic.DictionarySet`1"]

Inheritance Hierarchy

See Also