public virtual bool Equals(IColorProvider other) { if (null == other || other.GetType() != GetType()) { return(false); } var from = (ColorProviderBase)other; return (_colorBelow == from._colorBelow && _colorAbove == from._colorAbove && _colorInvalid == from._colorInvalid && _alphaChannel == from._alphaChannel && _colorSteps == from._colorSteps); }
public virtual bool Equals(IColorProvider other) { if (null == other || other.GetType() != this.GetType()) return false; var from = (ColorProviderBase)other; return _colorBelow == from._colorBelow && _colorAbove == from._colorAbove && _colorInvalid == from._colorInvalid && _alphaChannel == from._alphaChannel && _colorSteps == from._colorSteps; }