C# 클래스 Microsoft.Practices.Prism.Tests.ServiceLocatorExtensionsFixture.MockServiceLocator

상속: ServiceLocatorImplBase
파일 보기 프로젝트 열기: xperiandri/PortablePrism

공개 프로퍼티들

프로퍼티 타입 설명
ResolveMethod Func

공개 메소드들

메소드 설명
MockServiceLocator ( Func resolveMethod ) : System

보호된 메소드들

메소드 설명
DoGetAllInstances ( Type serviceType ) : IEnumerable
DoGetInstance ( Type serviceType, string key ) : object

메소드 상세

DoGetAllInstances() 보호된 메소드

protected DoGetAllInstances ( Type serviceType ) : IEnumerable
serviceType System.Type
리턴 IEnumerable

DoGetInstance() 보호된 메소드

protected DoGetInstance ( Type serviceType, string key ) : object
serviceType System.Type
key string
리턴 object

MockServiceLocator() 공개 메소드

public MockServiceLocator ( Func resolveMethod ) : System
resolveMethod Func
리턴 System

프로퍼티 상세

ResolveMethod 공개적으로 프로퍼티

public Func ResolveMethod
리턴 Func