Controller.Resolver 属性

定义

表示提供服务的可替换依赖关系解析程序。 默认情况下,它使用 System.Web.Mvc.DependencyResolver.CurrentCache

public System.Web.Mvc.IDependencyResolver Resolver { get; set; }
member this.Resolver : System.Web.Mvc.IDependencyResolver with get, set
Public Property Resolver As IDependencyResolver

属性值

适用于