- 描述:
获取依赖关系解析程序的实现。
- 命名空间:
System.Web.Mvc
- 程序集:
System.Web.Mvc(在 System.Web.Mvc.dll 中)
- 用例:
IRecLockService recLockService = DependencyResolver.Current.GetService<IRecLockService>(); IProjectService projectService = DependencyResolver.Current.GetService<IProjectService>(); IReimbursementSiteService reimbursementSiteImpl = DependencyResolver.Current.GetService<IReimbursementSiteService>(); IClaimService claimService = DependencyResolver.Current.GetService<IClaimService>(); IBizSetting bizSetting = DependencyResolver.Current.GetService<IBizSetting>(); IProjectBlackList iProjectBlackList = DependencyResolver.Current.GetService<IProjectBlackList>();