C# Класс HomeAutomation.Core.ControllerRegistry

Maintains a registry of the controllers registered to the system.
Показать файл Открыть проект

Открытые методы

Метод Описание
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.

Описание методов

GetControllers() публичный Метод

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[]
Результат IController[]

RegisterController() публичный Метод

Registers a controller to the system.
public RegisterController ( IController controller ) : void
controller IController
Результат void