title: Localizable DisplayName attribute for class level
body: <p>I am looking for a way to set a displayname attribute at a class level which is localizable. I managed to fix the it for the method/property level using the display attribute:</p>
  
  <pre><code>       [Display(
              ResourceType = typeof(HardwareLocalization),
              Name = nameof(HardwareLocalization.DoorAccessConfiguration_RequireActiveMembership_Name),
              Description = nameof(HardwareLocalization.DoorAccessConfiguration_RequireActiveMembership_Description)
          )]
          public bool RequireActiveMembership { get; set; }
  </code></pre>
  
  <p>But <code>[Display(Name = 'x')]</code> is not applicable at a class level, only <code>[DisplayName('name')]</code> is, but that is not localizable.</p>
  
  <p>I have been searching around, but all posts I find only tackle the problem at a method/property level.</p>