I want to create an Attribute and want to get the Method by the Attribute(through an List or something like that)
I've created my Attribute
[System.AttributeUsage(System.AttributeTargets.Method |
System.AttributeTargets.Struct)
]
public class JobActionHandler : System.Attribute
{
private JobActions.Actions action;
public JobActionHandler(JobActions.Actions actiogn)
{
this.action = actiogn;
}
}
But i dont know how to add this to a list so i can access the Method and the ENUM VALUE