C# 클래스 HomeAutomation.Core.Service.ServiceRegistry

SerivceRegistry is the main point in the application to turn to for services.
파일 보기 프로젝트 열기: moszinet/HomeAutomation

공개 메소드들

메소드 설명
GetServiceByType ( Type serviceType ) : IService
RegisterService ( IService serviceInstance ) : void

Registers a service into the system.

RegisterService ( Type serviceType, IService serviceInstance ) : void

Registers a service into the system.

ServiceRegistry ( ) : System

메소드 상세

GetServiceByType() 공개 메소드

public GetServiceByType ( Type serviceType ) : IService
serviceType System.Type
리턴 IService

RegisterService() 공개 메소드

Registers a service into the system.
public RegisterService ( IService serviceInstance ) : void
serviceInstance IService
리턴 void

RegisterService() 공개 메소드

Registers a service into the system.
public RegisterService ( Type serviceType, IService serviceInstance ) : void
serviceType System.Type
serviceInstance IService
리턴 void

ServiceRegistry() 공개 메소드

public ServiceRegistry ( ) : System
리턴 System