C# 클래스 DotNetNuke.Extensions.ServiceLocation.DotNetNukeServiceLocator

Class that provides an implementation of the IServiceLocator interface specific to DotNetNuke's ComponentModel contracts.
상속: ServiceLocatorImplBase
파일 보기 프로젝트 열기: JonHaywood/DotNetNuke.Extensions

공개 메소드들

메소드 설명
DotNetNukeServiceLocator ( IContainer container ) : System

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

메소드 상세

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

DotNetNukeServiceLocator() 공개 메소드

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