Как получить PropertyDescriptor для текущего свойства?

Как мне получить PropertyDescriptor для текущего свойства? Например:

[MyAttribute("SomeText")]
public string MyProperty
{
    get{....}
    set
    {
        // here I want to get PropertyDescriptor for this property.
    }
}
11
задан Dale K 15 February 2019 в 07:00
поделиться