Method Set
Set(TAlternateLeft, TAlternateRight)
Sets an association in the map between the specified alternate left and alternate right value, overriding any existing associations these values had.
Declaration
public void Set(TAlternateLeft leftValue, TAlternateRight rightValue)
Parameters
Type | Name | Description |
---|---|---|
TAlternateLeft | leftValue | |
TAlternateRight | 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)
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(TLeft, TAlternateRight)
Sets an association in the map between the specified left value and alternate right value, overriding any existing associations these values had.
Declaration
public void Set(TLeft leftValue, TAlternateRight rightValue)
Parameters
Type | Name | Description |
---|---|---|
TLeft | leftValue | |
TAlternateRight | 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, TAlternateRight, out TLeft, out TRight)
Sets an association in the map between the specified alternate left and alternate right value, overriding any existing associations these values had.
Declaration
public void Set(TAlternateLeft leftValue, TAlternateRight rightValue, out TLeft actualLeftValue, out TRight actualRightValue)
Parameters
Type | Name | Description |
---|---|---|
TAlternateLeft | leftValue | |
TAlternateRight | rightValue | |
TLeft | actualLeftValue | |
TRight | actualRightValue |
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.
Set(TLeft, TAlternateRight, out TRight)
Sets an association in the map between the specified left value and alternate right value, overriding any existing associations these values had.
Declaration
public void Set(TLeft leftValue, TAlternateRight rightValue, out TRight actualRightValue)
Parameters
Type | Name | Description |
---|---|---|
TLeft | leftValue | |
TAlternateRight | rightValue | |
TRight | actualRightValue |
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.