Esempio n. 1
0
 /// <summary>
 /// Gets whether two key parts are the same.
 /// </summary>
 /// <param name="other">The other key part.</param>
 /// <returns>True if obj is a key part and it represent the same key part; otherwise, false.</returns>
 public bool Equals(KeyPart other)
 {
     return(other != null && Dimension == other.Dimension && Dimension.Equals(Value, other.Value));
 }
Esempio n. 2
0
 /// <summary>
 /// Gets whether two key parts are the same.
 /// </summary>
 /// <param name="other">The other key part.</param>
 /// <returns>True if obj is a key part and it represent the same key part; otherwise, false.</returns>
 public bool Equals(KeyPart other)
 {
     return(other != null && dimension == other.dimension && dimension.Equals(value, other.value));
 }