Hi,
is it possible to somehow retrieve information about the member that the attribute is attached to
Here's example:
[Register("example")]
public static void DoSomething() { ; }
[AttributeUsage( AttributeTargets.Method )]
public RegisterAttribute : Attribute
{
public static Dictionary<string, MethodInfo> Instances = new Dictionary<string, MethodInfo>();
public RegisterAttribute( string name )
{
Instances.Add( name, <what goes here > );
}
}
thanks

Attributes
bamacoder
glenrm