Let\'s say I have a class called Test with one property called Title with a custom attribute:
public class Test
{
[DatabaseField(\"title\")]
public s
In order to get the attribute value, you need the type that the attribute applies to. Your extension method is only getting a string value (the value of Title), so you would not be able to get the actual instance that the string came from, and so you can't get the original type that the Title property belongs to. This will make it impossible to get the attribute value from your extension method.