Exemple #1
0
        private bool RemoveExcludeTag(string tag)
        {
            if (!ExcludeTags.Contains(tag))
            {
                return(false);
            }

            return(ExcludeTags.Remove(tag));
        }
Exemple #2
0
        private bool AddExcludeTag(string tag)
        {
            if (ExcludeTags.Contains(tag))
            {
                return(false);
            }

            ExcludeTags.Add(tag);

            return(true);
        }
Exemple #3
0
 public bool Excludes(string tag)
 {
     return(ExcludeTags.Any() && ExcludeTags.Contains(tag));
 }