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