Inheritance: 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
文件: TestButton.cs 项目: v1ku/HA4IoT
        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;
        }