title: reflexion in a display custom attribute mvc
body: <p>I'm trying to create a custom attribute that display the value of property CountryText</p>
  
  <pre><code>[DisplayNameProperty("CountryText")]
      public string Country { get; set; }
  
      public string CountryText { get; set; }
  </code></pre>
  
  <p>this the code of the attribute</p>
  
  <pre><code>namespace Registration.Front.Web.Validators
      {
          public class RegistrationDisplayNameAttribute:DisplayNameAttribute
          {
              private readonly PropertyInfo _proprtyInfo;
              public RegistrationDisplayNameAttribute(string resourceKey):base(resourceKey)
              {
  
              }
  
              public override string DisplayName
              {
                  get
                  {
                      if(_proprtyInfo==null)
  
                  }
  
              }
          }
      }
  </code></pre>
  
  <p>How can i do the reflexion to obtain the value of the fild named <code>resourceKey</code> in my code of attribute??</p>