Esempio n. 1
0
 public override int GetHashCode()
 {
     return
         (GetType().GetHashCode() +
          _relativeStructureWidth.GetHashCode() +
          _fillColor.GetHashCode());
 }
Esempio n. 2
0
 public override int GetHashCode()
 {
     return
         (GetType().GetHashCode() +
          (int)_plotColorInfluence +
          _relativeStructureWidth.GetHashCode() +
          _fillColor.GetHashCode() +
          (_frame?.GetHashCode() ?? 0) +
          (_inset?.GetHashCode() ?? 0));
 }
Esempio n. 3
0
 public override int GetHashCode()
 {
     return(GetType().GetHashCode() + 17 * _color.GetHashCode());
 }
Esempio n. 4
0
 public override int GetHashCode()
 {
     return(_color.GetHashCode() + 3 * _smoothness.GetHashCode() + 7 * _metalness.GetHashCode() + 13 * _indexOfRefraction.GetHashCode());
 }