public bool Equals(DestinyColor input) { if (input == null) { return(false); } return (( Red == input.Red || (Red != null && Red.Equals(input.Red)) ) && ( Green == input.Green || (Green != null && Green.Equals(input.Green)) ) && ( Blue == input.Blue || (Blue != null && Blue.Equals(input.Blue)) ) && ( Alpha == input.Alpha || (Alpha != null && Alpha.Equals(input.Alpha)) )); }
public bool Equals(ColorBalance other) => Red.Equals(other.Red) && Green.Equals(other.Green) && Blue.Equals(other.Blue);
protected bool Equals(Color other) { return(Red.Equals(other.Red) && Green.Equals(other.Green) && Blue.Equals(other.Blue)); }