How do you Read the value of an attribute in a Method
- by Coppermill
I need to be able to read the value of my attribute from within my Method, how can I do it?
[MyAttribute("Hello World")]
public int MyMethod()
{
//Need to read the MyAttribute attribute and get its value
}