Наследование: 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);
 }
Пример #5
0
 /// <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.");
 }