Collections Collections
Collections Collections
DocFX + Singulink = ♥

Search Results for

    Method TryAdd

    TryAdd(TAlternateLeft, TAlternateRight)

    Attempts to add an association to map between the specified alternate left value and alternate right value.

    Declaration
    public bool TryAdd(TAlternateLeft leftValue, TAlternateRight rightValue)
    Parameters
    Type Name Description
    TAlternateLeft leftValue
    TAlternateRight rightValue
    Returns
    Type Description
    bool

    true if the association was added, otherwise false if the left or right value was already present in the map.

    TryAdd(TAlternateLeft, TRight)

    Attempts to add an association to map between the specified alternate left value and right value.

    Declaration
    public bool TryAdd(TAlternateLeft leftValue, TRight rightValue)
    Parameters
    Type Name Description
    TAlternateLeft leftValue
    TRight rightValue
    Returns
    Type Description
    bool

    true if the association was added, otherwise false if the left or right value was already present in the map.

    TryAdd(TLeft, TAlternateRight)

    Attempts to add an association to map between the specified left value and alternate right value.

    Declaration
    public bool TryAdd(TLeft leftValue, TAlternateRight rightValue)
    Parameters
    Type Name Description
    TLeft leftValue
    TAlternateRight rightValue
    Returns
    Type Description
    bool

    true if the association was added, otherwise false if the left or right value was already present in the map.

    TryAdd(TAlternateLeft, TAlternateRight, out TLeft, out TRight)

    Attempts to add an association to map between the specified alternate left value and alternate right value.

    Declaration
    public bool TryAdd(TAlternateLeft leftValue, TAlternateRight rightValue, out TLeft actualLeftValue, out TRight actualRightValue)
    Parameters
    Type Name Description
    TAlternateLeft leftValue
    TAlternateRight rightValue
    TLeft actualLeftValue
    TRight actualRightValue
    Returns
    Type Description
    bool

    true if the association was added, otherwise false if the left or right value was already present in the map.

    TryAdd(TAlternateLeft, TRight, out TLeft)

    Attempts to add an association to map between the specified alternate left value and right value.

    Declaration
    public bool TryAdd(TAlternateLeft leftValue, TRight rightValue, out TLeft actualLeftValue)
    Parameters
    Type Name Description
    TAlternateLeft leftValue
    TRight rightValue
    TLeft actualLeftValue
    Returns
    Type Description
    bool

    true if the association was added, otherwise false if the left or right value was already present in the map.

    TryAdd(TLeft, TAlternateRight, out TRight)

    Attempts to add an association to map between the specified left value and alternate right value.

    Declaration
    public bool TryAdd(TLeft leftValue, TAlternateRight rightValue, out TRight actualRightValue)
    Parameters
    Type Name Description
    TLeft leftValue
    TAlternateRight rightValue
    TRight actualRightValue
    Returns
    Type Description
    bool

    true if the association was added, otherwise false if the left or right value was already present in the map.

    © Singulink. All rights reserved.