C# Class Solita.Episerver.WebApi.StructureMapWebApiDependencyResolver

Web API DependencyResolver for StructureMap
Inheritance: IDependencyResolver
显示文件 Open project: solita/episerver-webapi

Public Methods

Method Description
BeginScope ( ) : IDependencyScope
Dispose ( ) : void
GetService ( Type serviceType ) : object
GetServices ( Type serviceType ) : IEnumerable
StructureMapWebApiDependencyResolver ( IContainer container ) : System

Private Methods

Method Description
GetConcreteService ( Type serviceType ) : object
GetInterfaceService ( Type serviceType ) : object

Method Details

BeginScope() public method

public BeginScope ( ) : IDependencyScope
return IDependencyScope

Dispose() public method

public Dispose ( ) : void
return void

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

StructureMapWebApiDependencyResolver() public method

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