Search Results for

    Show / Hide Table of Contents

    Class BiMap<U, V>

    Represents a 1:1 mapping between two types

    Inheritance
    object
    BiMap<U, V>
    Implements
    IEnumerable<(U, V)>
    IEnumerable
    Namespace: Tessera
    Assembly: Tessera.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<(U, V)> data

    Properties

    Count

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

    this[U]

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

    this[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<(U, V)>

    Implements

    IEnumerable<T>
    IEnumerable
    In this article
    Back to top Generated by DocFX