aspect-injector
aspect-injector copied to clipboard
Investigave attributes injection (same way as interface injections)
sir,how to add an attribute to a class
Hi, Can you please elaborate more on this?
We have an error when we migrate asp.net webapi to asp.net core (we have to use swagger core , but swagger core need every action explicit HttpMethod binding)
Ambiguous HTTP method for action - Permission.Service.Controllers.RoleController.GetRoleConfigValue (). Actions require an explicit HttpMethod binding for Swagger 2.0
Ok, I guess I understand. So you want an api that allows adding attributes to a class(or member) after compilation. Is that correct?
yes
This is an interesting idea. We will investigate it and may be implement in future. For now, unfortunately , aspect injector cannot do it
ok,thanks all the same
Will not be implemented. Same can be achieved by using base classes with inherited attributes