C# 클래스 Cedar.Framework.Common.Client.MVC.ServiceLocatableDependencyResolver

A custom DependencyResolver which uses ServiceLocator to acticvate service.
상속: IDependencyResolver
파일 보기 프로젝트 열기: Chinaccn/surfboard

공개 메소드들

메소드 설명
GetService ( Type serviceType ) : object

Gets the service.

GetServices ( Type serviceType ) : IEnumerable

Gets the services.

ServiceLocatableDependencyResolver ( string serviceLocatorName = "" ) : System

메소드 상세

GetService() 공개 메소드

Gets the service.
public GetService ( Type serviceType ) : object
serviceType System.Type Type of the service.
리턴 object

GetServices() 공개 메소드

Gets the services.
public GetServices ( Type serviceType ) : IEnumerable
serviceType System.Type Type of the service.
리턴 IEnumerable

ServiceLocatableDependencyResolver() 공개 메소드

public ServiceLocatableDependencyResolver ( string serviceLocatorName = "" ) : System
serviceLocatorName string
리턴 System