示例#1
0
 static public LEFT_TYPE GetValueByRight <LEFT_TYPE, RIGHT_TYPE>(this BidirectionalDictionary <LEFT_TYPE, RIGHT_TYPE> item, RIGHT_TYPE right)
 {
     return(item.GetValueByRight(right, default(LEFT_TYPE)));
 }
示例#2
0
 static public RIGHT_TYPE GetValueByLeft <LEFT_TYPE, RIGHT_TYPE>(this BidirectionalDictionary <LEFT_TYPE, RIGHT_TYPE> item, LEFT_TYPE left)
 {
     return(item.GetValueByLeft(left, default(RIGHT_TYPE)));
 }