示例#1
0
 public FileMetaData cloneMetaDataObject()
 {
     FileMetaData retObj = new FileMetaData (this.filepath, this.owner);
     retObj.filesize = this.filesize;
     retObj.sharedwithclients = new List<string> (this.sharedwithclients);
     retObj.versionNumber = this.versionNumber;
     retObj.markedForDeletion = this.markedForDeletion;
     return retObj;
 }
示例#2
0
 public UserFile(string filepath, string owner)
 {
     this.filemetadata = new FileMetaData(filepath, owner);
     this.filecontent  = new byte[0];
 }