예제 #1
0
 public bool Equals(BoxTexture other)
 {
     if (ReferenceEquals(null, other))
     {
         return(false);
     }
     if (ReferenceEquals(this, other))
     {
         return(true);
     }
     return(base.Equals(other) && CornerArea.Equals(other.CornerArea) && Margins.Equals(other.Margins));
 }
예제 #2
0
 public bool Equals(TestUITexture other)
 {
     if (ReferenceEquals(null, other))
     {
         return(false);
     }
     if (ReferenceEquals(this, other))
     {
         return(true);
     }
     return(string.Equals(Name, other.Name) && Width == other.Width && Height == other.Height && CornerArea.Equals(other.CornerArea) && Margins.Equals(other.Margins));
 }