HELLO!!!
I have custom attribute
[AttributeUsage(AttributeTargets.Property)]
public class TestAttribute : Attribute
{
public string S;
public TestAttribute()
{
}
}
public class A
{
[Test]
public string str { get; set; }
}
How can I get value of properti in my attribute where i use my attribute?
For example i use my attribute for str properti how can i get str value in my TestAttribute Class?

Mario ScheerenRank #1,371 · 1.2K reputationPosted Jun 23, 2019, 10:52 PM EDT
Posted Jun 23, 2019, 11:02 PM EDT
Mario ScheerenRank #1,371 · 1.2K reputationPosted Jun 23, 2019, 11:21 PM EDT