示例#1
0
 public bool Equals(LabColor other)
 {
     if (other == null)
     {
         throw new ArgumentNullException("other");
     }
     return(L.Equals(other.L) && a.Equals(other.a) && b.Equals(other.b));
 }
示例#2
0
 public bool Equals(LabColor other) =>
 L == other.L &&
 a == other.a &&
 b == other.b;
示例#3
0
 /// <inheritdoc cref="object" />
 public bool Equals(LabColor other) => L.Equals(other.L) && a.Equals(other.a) && b.Equals(other.b);
示例#4
0
 public bool Equals(LabColor other)
 {
     if (other == null) throw new ArgumentNullException("other");
     return L.Equals(other.L) && a.Equals(other.a) && b.Equals(other.b);
 }