C# Class HomeAutomation.Core.Service.ServiceRegistry

SerivceRegistry is the main point in the application to turn to for services.
Afficher le fichier Open project: moszinet/HomeAutomation

Méthodes publiques

Méthode Description
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

Method Details

GetServiceByType() public méthode

public GetServiceByType ( Type serviceType ) : IService
serviceType System.Type
Résultat IService

RegisterService() public méthode

Registers a service into the system.
public RegisterService ( IService serviceInstance ) : void
serviceInstance IService
Résultat void

RegisterService() public méthode

Registers a service into the system.
public RegisterService ( Type serviceType, IService serviceInstance ) : void
serviceType System.Type
serviceInstance IService
Résultat void

ServiceRegistry() public méthode

public ServiceRegistry ( ) : System
Résultat System