C# Class StructureMapMvcApplicaton.Infrastructure.StructureMapDependencyResolver

Inheritance: IDependencyResolver
显示文件 Open project: NashDotNet/lab-dependency-injection

Public Methods

Method Description
GetService ( Type serviceType ) : object
GetServices ( Type serviceType ) : IEnumerable
StructureMapDependencyResolver ( IContainer container ) : System

Method Details

GetService() public method

public GetService ( Type serviceType ) : object
serviceType System.Type
return object

GetServices() public method

public GetServices ( Type serviceType ) : IEnumerable
serviceType System.Type
return IEnumerable

StructureMapDependencyResolver() public method

public StructureMapDependencyResolver ( IContainer container ) : System
container IContainer
return System