标签: c# unity3d inversion-of-control config app-config
我有一种情况,当我向Unity容器请求特定类型时,它应该返回“null”值。
像
<register type="MyNamespace.MyType" mapTo="null" />
我怎样才能实现它?