public GenericRangeFilter <T> ActivateWith(T min, T max)
        {
            IsActive = true;
            Range    = new GenericRange <T>(min, max);

            return(this);
        }
        public bool Equals(GenericRange <T> other)
        {
            if (ReferenceEquals(null, other))
            {
                return(false);
            }

            if (ReferenceEquals(this, other))
            {
                return(true);
            }

            return(Equals(other.MaxValue, MaxValue) && Equals(other.MinValue, MinValue));
        }