コード例 #1
0
 /// <summary>
 /// Serves as a hash function for a particular type.
 /// </summary>
 /// <returns>
 /// A hash code for the current <see cref="PresenterBinding"/>.
 /// </returns>
 public override int GetHashCode()
 {
     return
         (PresenterType.GetHashCode() |
          ViewType.GetHashCode() |
          BindingMode.GetHashCode() |
          ViewInstances.GetHashCode());
 }
コード例 #2
0
 public override int GetHashCode()
 {
     return(Expression.GetHashCode() * 3 ^ (BindingMode.GetHashCode() + 11));
 }