Наследование: IButtonEndpoint
Пример #1
0
        public TestButton(ComponentId id, TestButtonEndpoint endpoint, ITimerService timerService, ISettingsService settingsService)
            : base(id, endpoint, timerService, settingsService)
        {
            if (endpoint == null) throw new ArgumentNullException(nameof(endpoint));

            Endpoint = endpoint;
        }
Пример #2
0
        public TestButton(ComponentId id, TestButtonEndpoint endpoint, ITimerService timerService, ISettingsService settingsService)
            : base(id, endpoint, timerService, settingsService)
        {
            if (endpoint == null)
            {
                throw new ArgumentNullException(nameof(endpoint));
            }

            Endpoint = endpoint;
        }
Пример #3
0
        public TestButton(ComponentId id, TestButtonEndpoint endpoint, IHomeAutomationTimer timer)
            : base(id, endpoint, timer)
        {
            if (endpoint == null)
            {
                throw new ArgumentNullException(nameof(endpoint));
            }

            Endpoint = endpoint;
        }