public void RemoveFilter(FileAccessClient filter) { if (_activated) { throw new InvalidOperationException(); } filter.SetHooks(null); _filters.Remove(filter); }
public void AddClient(FileAccessClient filter) { if (_activated) { throw new InvalidOperationException(); } filter.SetHooks(_hooks); _filters.Add(filter); }