C# 将Castle从3.0.0更新为3.2.1,现在我无法使用FirstNonGenericCoreInterface
在我将Castle升级到3.2.1之后,我似乎找不到FirstNonGenericCoreInterface的合适替代品 我的密码C# 将Castle从3.0.0更新为3.2.1,现在我无法使用FirstNonGenericCoreInterface,c#,castle-windsor,ioc-container,fluent-interface,s#arp-architecture,C#,Castle Windsor,Ioc Container,Fluent Interface,S#arp Architecture,在我将Castle升级到3.2.1之后,我似乎找不到FirstNonGenericCoreInterface的合适替代品 我的密码 container.Register( AllTypes .FromAssemblyNamed("MySolution.Tasks") .InNamespace("MySolution.Tasks") .WithService.FirstNonGenericCoreInterface("MySolution.D
container.Register(
AllTypes
.FromAssemblyNamed("MySolution.Tasks")
.InNamespace("MySolution.Tasks")
.WithService.FirstNonGenericCoreInterface("MySolution.Domain"));
那个方法并没有过时,我也找不到该用什么方法
有人知道我应该使用什么吗?如果我没有弄错的话,FirstNonGenericCoreInterface是一种尖锐的架构扩展方法
如果您的实现类名与接口匹配,那么WithService.DefaultInterfaces()应该执行您需要的操作。更多信息可以在Castle Windsor wiki上找到如果我没有弄错的话,FirstNonGenericCoreInterface是一种尖锐的架构扩展方法 如果您的实现类名与接口匹配,那么WithService.DefaultInterfaces()应该执行您需要的操作。更多信息可在温莎城堡维基上获得