Exemplo n.º 1
0
        public void IntersectWith(IEnumerable <T> other)
        {
            var comp = new RuleSetInternalEqualityComparer();

            foreach (var deletR in _rules.Except(other.Select(r => new KeyValuePair <string, T>(r.Tag, r)), comp))
            {
                _rules.TryRemove(deletR.Key, out _);
            }
        }