I have some collection List<ObjectId> called ‘ids’. I want to allow users to create flexible filters for ‘ids’.
I would like to create a textbox, into which user must to write a filter string. For example:
item => item.ClassName == "Rectangle"
This expression I need apply for each item on ‘ids’. How can I try parse it for validation? How can I run it in my code for each ‘ids’ item?
You can take advantage of Dynamic LINQ