// Don't make it public because this is doing a string comparison of the image file path,
 // not a true path comparison. This is only for use by tests.
 internal bool Equals(ImageIdentifier other)
 {
     if (other == null)
     {
         return false;
     }
     return this.FrameIndex == other.FrameIndex && this.ImageFilePath.Equals(other.ImageFilePath);
 }
Exemple #2
0
 // Don't make it public because this is doing a string comparison of the image file path,
 // not a true path comparison. This is only for use by tests.
 internal bool Equals(ImageIdentifier other)
 {
     if (other == null)
     {
         return(false);
     }
     return(this.FrameIndex == other.FrameIndex && this.ImageFilePath.Equals(other.ImageFilePath));
 }