Inheritance: ManifestDirectoryElement
Exemple #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);
        }
Exemple #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.");
        }
 /// <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.");
 }