using System.Linq.Expressions;
using System.Reflection;

namespace Xazanega.Search.Filters
{
    // todo: add support for range expressions
    public class RangeFilter : ISearchFilter
    {
        public Expression Apply(PropertyInfo propertyInfo, Expression property, Expression value)
        {
            return Expression.Equal(property, value);
        }
    }
}