예제 #1
0
 /// <summary>
 /// ハッシュ値を計算します。
 /// </summary>
 public override int GetHashCode()
 {
     return(
         Font.GetHashCode() ^
         Color.GetHashCode() ^
         EdgeColor.GetHashCode() ^
         EdgeLength.GetHashCode() ^
         IsStretchSize.GetHashCode());
 }
예제 #2
0
 /// <summary>
 /// ハッシュ値を計算します。
 /// </summary>
 public override int GetHashCode()
 {
     return(
         FontFamilyName.GetHashCode() ^
         FontStyle.GetHashCode() ^
         Size.GetHashCode() ^
         Color.GetHashCode() ^
         EdgeColor.GetHashCode() ^
         EdgeLength.GetHashCode() ^
         IsStretchSize.GetHashCode());
 }