什么是Unity InjectionConstructor属性?

Yoa*_*. B 16 .net c# unity-container

什么是Unity InjectionConstructor属性及其工作原理?

Rya*_*aux 31

基本上,这告诉Unity使用使用该属性指定的构造函数.请阅读这篇文章了解更多信息.