Я хочу получить доступ к свойствам класса из класса атрибута с помощью отражения. Возможно ли это?
Например:
class MyAttribute : Attribute
{
private void AccessTargetClass()
{
// Do some operations
}
}
[MyAttribute]
class TargetClass
{
}