Пример #1
0
 protected bool Equals(RGBColorBase other)
 {
     if (other == null)
     {
         throw new ArgumentNullException("other");
     }
     return(R.Equals(other.R) && G.Equals(other.G) && B.Equals(other.B));
 }
Пример #2
0
 protected bool Equals(RGBColorBase other)
 {
     if (other == null) throw new ArgumentNullException("other");
     return R.Equals(other.R) && G.Equals(other.G) && B.Equals(other.B);
 }