Inheritance: ManifestDirectoryElement
示例#1
0
        //--------------------//

        #region Equality
        /// <inheritdoc/>
        protected bool Equals(ManifestFileBase other)
        {
            if (other == null)
            {
                return(false);
            }
            return(other.Digest == Digest && other.ModifiedTime == ModifiedTime && other.Size == Size && other.FileName == FileName);
        }
示例#2
0
 /// <inheritdoc/>
 protected bool Equals(ManifestFileBase other)
 {
     if (other == null)
     {
         return(false);
     }
     return(ModifiedTimeUnix == other.ModifiedTimeUnix && base.Equals(other));
 }
        private static void FileMustExistInDirectory(ManifestFileBase node, string directory)
        {
            string fullPath = Path.Combine(directory, node.FileName);

            Assert.IsTrue(File.Exists(fullPath), "File " + fullPath + " does not exist.");
        }
示例#4
0
 /// <inheritdoc/>
 protected bool Equals(ManifestFileBase other)
 {
     if (other == null) return false;
     return ModifiedTimeUnix == other.ModifiedTimeUnix && base.Equals(other);
 }
 /// <inheritdoc/>
 protected bool Equals(ManifestFileBase other)
 {
     if (other == null) return false;
     return other.Digest == Digest && other.ModifiedTime == ModifiedTime && other.Size == Size && other.FileName == FileName;
 }
 private static void FileMustExistInDirectory(ManifestFileBase node, string directory)
 {
     string fullPath = Path.Combine(directory, node.FileName);
     Assert.IsTrue(File.Exists(fullPath), "File " + fullPath + " does not exist.");
 }