In all of the tutorials out there for custom attributes they teach us how to create and define custom attributes which is no more than simple comment about the class/method. I am trying to figure out how can I read from those custom attributes in .NET inside some method. For example:
[SomeCustomAttr(param1, param2)]
public void Method1()
{
read param1 from here
read param2 from here
}
There are really great frameworks out there which do work with the entered data. Does anyone can give me some direction how to deal with this problem ?