C# Class HomeAutomation.Core.ControllerRegistry

Maintains a registry of the controllers registered to the system.
Afficher le fichier Open project: moszinet/HomeAutomation

Méthodes publiques

Méthode Description
GetControllers ( ) : IController[]

Returns the currently registered controller list, which can be used to loop through the list, as it will never change, but rather a new instance will be returned on change.

RegisterController ( IController controller ) : void

Registers a controller to the system.

Method Details

GetControllers() public méthode

Returns the currently registered controller list, which can be used to loop through the list, as it will never change, but rather a new instance will be returned on change.
public GetControllers ( ) : IController[]
Résultat IController[]

RegisterController() public méthode

Registers a controller to the system.
public RegisterController ( IController controller ) : void
controller IController
Résultat void