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