コード例 #1
0
 public bool Equals(Tuple <T1, T2, T3> other)
 {
     return(EqualityUtility.NotNullAndSameType(this, other) &&
            EqualityUtility.Equals(_item1, other._item1) &&
            EqualityUtility.Equals(_item2, other._item2) &&
            EqualityUtility.Equals(_item3, other._item3));
 }
コード例 #2
0
 public bool Equals(CacheKey other)
 {
     return(EqualityUtility.NotNullAndSameType(this, other) &&
            _type.Equals(other._type) &&
            string.Equals(_methodName, other._methodName) &&
            _bindingFlags == other._bindingFlags);
 }