public UserFileSystem(UserMetaData metadata)
 {
     this.filemap     = new Dictionary <string, UserFile>();
     this.sharedFiles = new List <SharedFile>();
     this.privateLock = new object();
     this.metadata    = metadata;
 }
 public UserFileSystem(UserMetaData metadata)
 {
     this.filemap = new Dictionary<string, UserFile>();
     this.sharedFiles = new List<SharedFile>();
     this.privateLock = new object();
     this.metadata = metadata;
 }
 public void SetMetadataSychronized(UserMetaData metadata)
 {
     lock (this.privateLock) {
         this.metadata = metadata;
     }
 }
 public void SetMetadataSychronized(UserMetaData metadata)
 {
     lock (this.privateLock) {
         this.metadata = metadata;
     }
 }