How to filter on dynamic property EPIFind 13.0.4


I want to be able to do a filter InRange for a dynamic property of a pageobject.

internal override ITypeSearch Apply(ITypeSearch query, string key)
    return query.Filter(x => ((int)x[key]).InRange(Min, Max));

    // Or like this
    return query.Filter(x => ((int)x.GetType().GetProperty(key).GetValue(x)).InRange(Min, Max));

But both don't work. Can I do this another way?

Oct 31, 2018 8:15
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.