0
请我有2个问题:1。 如何指定PluginFamily对于这种情况:如何为泛型指定PluginFamily?选项
For<IRepository<Person>>(). Use<Repository<Person>>()
For<IRepository<Address>>().Use<Repository<Address>>()
如何指定pluginfamily属性此scenarion:
对于(typeof运算(IRepository <> ))。User(typeof(Repository <>));
请帮助 感谢
的注册你看是有效的。你还想做什么? – 2011-03-31 12:39:05
我不想使用注册表。我想使用属性。所以我想装饰我的界面属性[PluginFamily ...]和[Pluggable] – Luka 2011-03-31 13:52:00
如果你有2个问题,你应该真的在网站上创建2个单独的问题。 – 2011-04-10 19:09:25