Dependency injection in custom attribute

前端 未结 0 1896
醉酒成梦
醉酒成梦 2021-01-31 23:23

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

public class MyAttribute : Attribute
{
    privat         


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