Table of Contents

Class OneToManyRelation<TKey, TValue>.ValueSet

Namespace
AsmResolver.Collections
Assembly
AsmResolver.dll

Represents a collection of values assigned to a single key in a one-to-many relation.

public class OneToManyRelation<TKey, TValue>.ValueSet : ICollection<TValue>, IEnumerable<TValue>, IEnumerable
Inheritance
OneToManyRelation<TKey, TValue>.ValueSet
Implements
ICollection<TValue>
IEnumerable<TValue>
Inherited Members

Constructors

ValueSet()

public ValueSet()

Fields

Empty

Represents the empty value set.

public static readonly OneToManyRelation<TKey, TValue>.ValueSet Empty

Field Value

OneToManyRelation<TKey, TValue>.ValueSet

Properties

Count

public int Count { get; }

Property Value

int

IsReadOnly

public bool IsReadOnly { get; }

Property Value

bool

Methods

Add(TValue)

public void Add(TValue item)

Parameters

item TValue

Clear()

public void Clear()

Contains(TValue)

public bool Contains(TValue item)

Parameters

item TValue

Returns

bool

CopyTo(TValue[], int)

public void CopyTo(TValue[] array, int arrayIndex)

Parameters

array TValue[]
arrayIndex int

GetEnumerator()

Gets an enumerator that enumerates all values in the collection.

public OneToManyRelation<TKey, TValue>.ValueSet.Enumerator GetEnumerator()

Returns

OneToManyRelation<TKey, TValue>.ValueSet.Enumerator

Remove(TValue)

public bool Remove(TValue item)

Parameters

item TValue

Returns

bool