C# 클래스 Prototype.Platform.Unity.UnityServiceLocator

상속: ServiceLocatorImplBase
파일 보기 프로젝트 열기: paralect/prototype

공개 메소드들

메소드 설명
UnityServiceLocator ( IUnityContainer container ) : System

보호된 메소드들

메소드 설명
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

UnityServiceLocator() 공개 메소드

public UnityServiceLocator ( IUnityContainer container ) : System
container IUnityContainer
리턴 System