title: Find a property on an object instance by it's attribute value
body: <p>I have a DTO that looks like this:</p>
  
  <pre><code>public class MyDto
  {
      [MyAttribute("attribute1")]
      public string Property1 {get;set;}
  
      [MyAttribute("attribute2")]
      public string Property2 {get;set;}
  }
  </code></pre>
  
  <p>If I have the <code>string</code> "attribute1", how do I use that to get to the value of <code>Property1</code> in an instance of <code>MyDto</code>?</p>