title: Get all properties which marked certain attribute
body: <p>I have class and properties in there. Some properties can be marked attribute (it's my <code>LocalizedDisplayName</code> inherits from <code>DisplayNameAttribute</code>).
  This is method for get all properties of class:</p>
  
  <pre><code>private void FillAttribute()
  {
      Type type = typeof (NormDoc);
      PropertyInfo[] propertyInfos = type.GetProperties();
      foreach (var propertyInfo in propertyInfos)
      {
          ...
      }
  }
  </code></pre>
  
  <p>I want to add properties of class in the listbox which marked <code>LocalizedDisplayName</code> and display value of attribute in the listbox. How can I do this?</p>
  
  <p><strong>EDIT</strong><br>
  This is LocalizedDisplayNameAttribute:</p>
  
  <pre><code>public class LocalizedDisplayNameAttribute : DisplayNameAttribute
      {
          public LocalizedDisplayNameAttribute(string resourceId)
              : base(GetMessageFromResource(resourceId))
          { }
  
          private static string GetMessageFromResource(string resourceId)
          {
              var test =Thread.CurrentThread.CurrentCulture;
              ResourceManager manager = new ResourceManager("EArchive.Data.Resources.DataResource", Assembly.GetExecutingAssembly());
              return manager.GetString(resourceId);
          }
      }  
  </code></pre>
  
  <p>I want to get string from resource file.
  Thanks.</p>