Example #1
0
 public virtual void Add(FileAsset file)
 {
   if (!Contains(file))
   {
     _files.Add(file);
   }
 }
 public ManifestEntry(Purl archivePath, FileAsset fileAsset)
 {
   _archivePath = archivePath;
   _fileAsset = fileAsset;
 }
Example #3
0
 public bool IsSameAgeAs(FileAsset file)
 {
   return this.ModifiedAt == file.ModifiedAt;
 }
Example #4
0
 public bool IsOlderThan(FileAsset file)
 {
   return this.ModifiedAt < file.ModifiedAt;
 }
Example #5
0
 public bool IsNewerThan(FileAsset file)
 {
   return this.ModifiedAt > file.ModifiedAt;
 }
 public FileCopyProgressEventArgs(double percentComplete, FileAsset file, Purl destiny)
   : base(percentComplete)
 {
   _file = file;
   _destiny = destiny;
 }
Example #7
0
 public bool Contains(FileAsset file)
 {
   return _files.Contains(file);
 }
Example #8
0
 public void Remove(FileAsset file)
 {
   _files.Remove(file);
 }