C# Class SharpArch.Web.Mvc.Castle.WindsorDependencyResolver

Inheritance: IDependencyResolver
Show file Open project: sharparchitecture/Sharp-Architecture

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.

WindsorDependencyResolver ( [ container ) : System

Initializes a new instance of the WindsorDependencyResolver 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

WindsorDependencyResolver() public method

Initializes a new instance of the WindsorDependencyResolver class.
is null.
public WindsorDependencyResolver ( [ container ) : System
container [ The container.
return System