C# Class Spring.Web.Mvc.SpringMvcDependencyResolver

Spring-based implementation of the IDependencyResolver interface for ASP.NET MVC.
Inheritance: IDependencyResolver
Datei anzeigen Open project: spring-projects/spring-net

Public Methods

Method Description
GetService ( Type serviceType ) : object

Resolves singly registered services that support arbitrary object creation.

GetServices ( Type serviceType ) : IEnumerable

Resolves multiply registered services.

SpringMvcDependencyResolver ( IApplicationContext context ) : System

Initializes a new instance of the SpringMvcDependencyResolver class.

Method Details

GetService() public method

Resolves singly registered services that support arbitrary object creation.
public GetService ( Type serviceType ) : object
serviceType System.Type The type of the requested service or object.
return object

GetServices() public method

Resolves multiply registered services.
public GetServices ( Type serviceType ) : IEnumerable
serviceType System.Type The type of the requested services.
return IEnumerable

SpringMvcDependencyResolver() public method

Initializes a new instance of the SpringMvcDependencyResolver class.
public SpringMvcDependencyResolver ( IApplicationContext context ) : System
context IApplicationContext The to be used by the resolver
return System