Exemplo n.º 1
0
		public bool Equals(PlaneImageBrush other)
		{
			if(ReferenceEquals(null, other)) return false;
			if(ReferenceEquals(this, other)) return true;
			return Equals(other._image, _image) 
				&& Equals(other.FilePath, FilePath) 
				&& Equals(other.ResourceName, ResourceName);
		}
Exemplo n.º 2
0
 public bool Equals(PlaneImageBrush other)
 {
     if (ReferenceEquals(null, other))
     {
         return(false);
     }
     if (ReferenceEquals(this, other))
     {
         return(true);
     }
     return(Equals(other._image, _image) &&
            Equals(other.FilePath, FilePath) &&
            Equals(other.ResourceName, ResourceName));
 }
Exemplo n.º 3
0
		public bool TestImageBrushEquality(PlaneImageBrush m1,
		                                   PlaneImageBrush m2)
		{
			bool res = m1.Equals(m2);
			return res;
		}