Пример #1
0
        public override bool CanUpgradeConfig(string configPath)
        {
            if (!_messageRouter.SupportsMessageType(UpgradeConfigRequest.MessageTypeValue))
            {
                return(false);
            }

            CanUpgradeConfigRequest message = new CanUpgradeConfigRequest(configPath);
            var result = _messageRouter.Send(message);

            return(CanUpgradeConfigResponse.Read(result).CanUpgrade);
        }