0

在 WinRT 上使用 Ninject 3.x,是否可以仅通过参数或元数据查询内核的绑定,即:不指定类型?

4

1 回答 1

3

No. You have to specify the type.

But you can use any kind of base Interface/class including object. E.g. Create bindings from object to all possible types and get an object

于 2013-08-05T13:00:50.747 回答