KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
I am working on a filtering function. The filter will be an expression tree build by an user. There will be about 30 fields the user can use for filtering. I think the best way is to create the object model with indexer and to access required values by index of enum type. See this example: enum Field { Name, Date, } class ObjectModel { object this[Field Key] { get { //... return xx; } } } I would like to ask how can I access an indexer from an expression tree.
Tags (comma-separated)
Save Edits
Cancel