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