HA4IoT.Tests.Mockups.TestButton.TestButton C# (CSharp) Method

TestButton() public method

public TestButton ( ComponentId id, TestButtonEndpoint endpoint, ITimerService timerService, ISettingsService settingsService ) : System
id ComponentId
endpoint TestButtonEndpoint
timerService ITimerService
settingsService ISettingsService
return System
        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;
        }