views:

31

answers:

0

Why are positional and named parameters for attribute types limited to the attribute parameter types?

Background: I'd like to supply functionality at runtime to an attribute. The only way I can see of doing so is to supply a System.Type which I then use to access the required functionality using something like Activator.CreateInstance within the attribute.