示例#1
0
 public static bool Equals(ManifestFile x, ManifestFile y)
 {
     if (object.ReferenceEquals(x, y))
     {
         return(true);
     }
     if (object.ReferenceEquals(x, null) || object.ReferenceEquals(y, null))
     {
         return(false);
     }
     return(x.Filename == y.Filename && x.Modified == y.Modified && x.Size == y.Size);
 }
示例#2
0
 public bool EqualsTo(ManifestFile file)
 {
     return(Equals(this, file));
 }