// TODO: rename to SwitchStatus and SwitchState public MultiSwitchAdapter(MultiSwitchInitializationArgument initializationArgument, IMessageBroker messageBroker) { _initializationArgument = initializationArgument; _messageBroker = messageBroker; Identifier = initializationArgument.Identifier; Setup(); }
public static MultiSwitchAdapter CreateAdapter(MultiSwitchInitializationArgument arguments, IMessageBroker messageBroker) => new MultiSwitchAdapter(arguments, messageBroker);