[]
        
(Showing Draft Content)

C1.PivotEngine.ValueSet-1

ValueSet<T> Class

Represents a collection of unique values of type T.

Inheritance
ValueSet<T>
Implements
Namespace: C1.PivotEngine
Assembly: C1.PivotEngine.dll
Syntax
public class ValueSet<T> : IEnumerable<T>, IEnumerable
Type Parameters
Name Description
T

Constructors

Name Description
ValueSet()

Initializes a new instance of a ValueSet<T>.

ValueSet(IEqualityComparer<T>)

Initializes a new instance of a ValueSet<T>.

Properties

Name Description
Count

Gets the number of objects in the collection.

Methods

Name Description
Add(T)

Adds a value to the collection if not already present.

Clear()

Removes all objects from the collection.

Contains(T)

Determines whether the collection contains a specific value.

SameValues(T[])

Determines whether the values in this set are the same as the ones in a given array.

Sort()

Sorts the elements in the collection.

ToArray()

Creates an array from this collection.

ToList()

Creates a List<T> from this collection.