Method Set
Set(TAlternateLeft, TRight)
Sets an association in the map between the specified alternate left value and right value, overriding any existing associations these values had.
Declaration
public void Set(TAlternateLeft leftValue, TRight rightValue)
Parameters
Type | Name | Description |
---|---|---|
TAlternateLeft | leftValue | |
TRight | rightValue |
Remarks
This method is functionally equivalent to removing any existing associations for the left and right values and then adding the new association, so it is guaranteed to succeed.
Set(TAlternateLeft, TRight, out TLeft)
Sets an association in the map between the specified alternate left value and right value, overriding any existing associations these values had.
Declaration
public void Set(TAlternateLeft leftValue, TRight rightValue, out TLeft actualLeftValue)
Parameters
Type | Name | Description |
---|---|---|
TAlternateLeft | leftValue | |
TRight | rightValue | |
TLeft | actualLeftValue |
Remarks
This method is functionally equivalent to removing any existing associations for the left and right values and then adding the new association, so it is guaranteed to succeed.