public override object EditValue(
     ITypeDescriptorContext context,
     IServiceProvider provider,
     object value)
 {
     var property             = context.PropertyDescriptor;
     MyConfigAttribute config = property.Attributes.OfType <MyConfigAttribute>().FirstOrDefault();
     // ...
 }
 public override object EditValue(
     ITypeDescriptorContext context,
     IServiceProvider provider,
     object value)
 {
     var property             = context.PropertyDescriptor;
     MyConfigAttribute config =
         (MyConfigAttribute)property.Attributes[typeof(MyConfigAttribute)];
     // ...
 }