什么是 Unity InjectionConstructor 属性及其工作原理?
最佳答案
基本上这会告诉 Unity 使用通过属性指定的构造函数。请read this post获取更多信息。
关于c# - 什么是 Unity InjectionConstructor 属性?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/458483/
什么是 Unity InjectionConstructor 属性及其工作原理?
最佳答案
基本上这会告诉 Unity 使用通过属性指定的构造函数。请read this post获取更多信息。
关于c# - 什么是 Unity InjectionConstructor 属性?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/458483/