private bool RemoveExcludeTag(string tag) { if (!ExcludeTags.Contains(tag)) { return(false); } return(ExcludeTags.Remove(tag)); }
private bool AddExcludeTag(string tag) { if (ExcludeTags.Contains(tag)) { return(false); } ExcludeTags.Add(tag); return(true); }
public bool Excludes(string tag) { return(ExcludeTags.Any() && ExcludeTags.Contains(tag)); }