DependencyResolver.InnerSetResolver Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
InnerSetResolver(Object) |
This API supports the ASP.NET MVC infrastructure and is not intended to be used directly from your code. |
InnerSetResolver(IDependencyResolver) |
This API supports the ASP.NET MVC infrastructure and is not intended to be used directly from your code. |
InnerSetResolver(Func<Type,Object>, Func<Type,IEnumerable<Object>>) |
This API supports the ASP.NET MVC infrastructure and is not intended to be used directly from your code. |
InnerSetResolver(Object)
This API supports the ASP.NET MVC infrastructure and is not intended to be used directly from your code.
public void InnerSetResolver (object commonServiceLocator);
member this.InnerSetResolver : obj -> unit
Public Sub InnerSetResolver (commonServiceLocator As Object)
Parameters
- commonServiceLocator
- Object
The common service locator.
Applies to
InnerSetResolver(IDependencyResolver)
This API supports the ASP.NET MVC infrastructure and is not intended to be used directly from your code.
public void InnerSetResolver (System.Web.Mvc.IDependencyResolver resolver);
member this.InnerSetResolver : System.Web.Mvc.IDependencyResolver -> unit
Public Sub InnerSetResolver (resolver As IDependencyResolver)
Parameters
- resolver
- IDependencyResolver
The object that implements the dependency resolver.
Applies to
InnerSetResolver(Func<Type,Object>, Func<Type,IEnumerable<Object>>)
This API supports the ASP.NET MVC infrastructure and is not intended to be used directly from your code.
public void InnerSetResolver (Func<Type,object> getService, Func<Type,System.Collections.Generic.IEnumerable<object>> getServices);
member this.InnerSetResolver : Func<Type, obj> * Func<Type, seq<obj>> -> unit
Public Sub InnerSetResolver (getService As Func(Of Type, Object), getServices As Func(Of Type, IEnumerable(Of Object)))
Parameters
- getServices
- Func<Type,IEnumerable<Object>>
The function that provides the services.