C# 클래스 LayersCMS.MvcApp.Application.DependencyResolution.StructureMapDependencyScope

The structure map dependency scope.
상속: ServiceLocatorImplBase, IDependencyScope
파일 보기 프로젝트 열기: stevekennaird/LayersCMS

보호된 프로퍼티들

프로퍼티 타입 설명
Container IContainer

공개 메소드들

메소드 설명
Dispose ( ) : void

The dispose.

GetService ( Type serviceType ) : object

The get service.

GetServices ( Type serviceType ) : IEnumerable

The get services.

StructureMapDependencyScope ( IContainer container ) : System

Initializes a new instance of the StructureMapDependencyScope class.

보호된 메소드들

메소드 설명
DoGetAllInstances ( Type serviceType ) : IEnumerable

When implemented by inheriting classes, this method will do the actual work of resolving all the requested service instances.

DoGetInstance ( Type serviceType, string key ) : object

When implemented by inheriting classes, this method will do the actual work of resolving the requested service instance.

메소드 상세

Dispose() 공개 메소드

The dispose.
public Dispose ( ) : void
리턴 void

DoGetAllInstances() 보호된 메소드

When implemented by inheriting classes, this method will do the actual work of resolving all the requested service instances.
protected DoGetAllInstances ( Type serviceType ) : IEnumerable
serviceType System.Type /// Type of service requested. ///
리턴 IEnumerable

DoGetInstance() 보호된 메소드

When implemented by inheriting classes, this method will do the actual work of resolving the requested service instance.
protected DoGetInstance ( Type serviceType, string key ) : object
serviceType System.Type /// Type of instance requested. ///
key string /// Name of registered service you want. May be null. ///
리턴 object

GetService() 공개 메소드

The get service.
public GetService ( Type serviceType ) : object
serviceType System.Type /// The service type. ///
리턴 object

GetServices() 공개 메소드

The get services.
public GetServices ( Type serviceType ) : IEnumerable
serviceType System.Type /// The service type. ///
리턴 IEnumerable

StructureMapDependencyScope() 공개 메소드

Initializes a new instance of the StructureMapDependencyScope class.
///
public StructureMapDependencyScope ( IContainer container ) : System
container IContainer /// The container. ///
리턴 System

프로퍼티 상세

Container 보호되어 있는 프로퍼티

The container.
protected IContainer Container
리턴 IContainer