private void LocatePorts(IntentExecutorContext intentExecutorContext, IAlexaProxyService alexaProxyService)
        {
            var query = intentExecutorContext.PortsQuery;
            var ports = alexaProxyService.GetAllPorts(PortTypes.Switch);

            var querys    = query.Split(" e ");
            var portInfos = querys.Select(p => PortInfo.Locate(ports, p)).ToArray();

            intentExecutorContext.TargetPorts = portInfos.Select(p => p.TargetPort).ToArray();
        }
 public ModoRave(IAlexaProxyService alexaProxyService)
 {
     _alexaProxyService = alexaProxyService;
     _ports             = _alexaProxyService.GetAllPorts(PortTypes.Switch);
 }