Show / Hide Table of Contents

Class BiMap<U, V>

Represents a 1:1 mapping between two types

Inheritance
Object
BiMap<U, V>
Implements
IEnumerable<ValueTuple<U, V>>
IEnumerable
Namespace: Tessera
Assembly: cs.temp.dll.dll
Syntax
public class BiMap<U, V> : IEnumerable<(U, V)>, IEnumerable
Type Parameters
Name Description
U
V

Constructors

BiMap(IEnumerable<(U, V)>)

Declaration
public BiMap(IEnumerable<(U, V)> data)
Parameters
Type Name Description
IEnumerable<ValueTuple<U, V>> data

Properties

Count

Declaration
public int Count { get; }
Property Value
Type Description
Int32

Item[U]

Declaration
public V this[U u] { get; }
Parameters
Type Name Description
U u
Property Value
Type Description
V

Item[V]

Declaration
public U this[V v] { get; }
Parameters
Type Name Description
V v
Property Value
Type Description
U

Methods

GetEnumerator()

Declaration
public IEnumerator<(U, V)> GetEnumerator()
Returns
Type Description
IEnumerator<ValueTuple<U, V>>

Explicit Interface Implementations

IEnumerable.GetEnumerator()

Declaration
IEnumerator IEnumerable.GetEnumerator()
Returns
Type Description
IEnumerator

Implements

System.Collections.Generic.IEnumerable<T>
System.Collections.IEnumerable
Back to top Generated by DocFX