Dependency injection in custom attribute

前端 未结 0 1311
[愿得一人]
[愿得一人] 2021-01-31 23:18

I have a custom attribute that gets 2 parameters, how can I inject this parameters to MyAttribute ?

public class MyAttribute : Attribute
{
    privat         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题