private void Storage_FileGone(object sender, FileGoneEventArgs e)
 {
     lock (_cachedStorages)
     {
         if (_cachedStorages.ContainsKey(e.RelativePath))
         {
             _cachedStorages.Remove(e.RelativePath);
         }
     }
 }
示例#2
0
 protected virtual void OnFileGone(FileGoneEventArgs e)
 {
     FileGone?.Invoke(this, e);
 }