title: How can I obtain a set of Key/Value pairs for each filter specified in an OData query using C#?
body: <p>I have an ASP.Net WebAPI service that accepts OData queries. One of my controller methods accepts an <code>ODataQueryOptions</code> instance and applies it to an <code>IQueryable</code> instance. So far so good. Everything is working as planned. </p>
  
  <p>Now, I have a specific need to obtain one of the key/value pairs from the OData query. For example, if I have two filters specified <code>(someproperty eq 123 and otherproperty eq 456)</code>, how can I obtain one of the key/value pairs from the raw filter? I've looked at some of the ODataUriParser documentation, but it is really complicated and seems overkill. Isn't there an easier way to obtain simple key/value pairs, like I would from a normal QueryString? </p>
  
  <p>EDIT: I've since put in some manual string parsing to accomplish what I needed, but that's obviously not ideal. Therefore, I'm putting up a bounty on this question. Hopefully someone has a simple solution to this!</p>