Implements an immutable (read-only) Set wrapper.

Although this is advertised as immutable, it really isn't. Anyone with access to the basisSet can still change the data-set. So GetHashCode() is not implemented for this Set, as is the case for all Set implementations in this library. This design decision was based on the efficiency of not having to Clone() the basisSet every time you wrap a mutable Set.

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

Syntax

C#
[SerializableAttribute]
public sealed class ImmutableSet : Set
Visual Basic
<SerializableAttribute> _
Public NotInheritable Class ImmutableSet _
	Inherits Set
Visual C++
[SerializableAttribute]
public ref class ImmutableSet sealed : public Set

Inheritance Hierarchy

System..::..Object
  Iesi.Collections..::..Set
    Iesi.Collections..::..ImmutableSet

See Also