Exemplo n.º 1
0
        internal SmartComponents(ResponseComposer c)
        {
            RequestId = c.ReadInt();
            var n = c.ReadInt();

            for (var i = 0; i < n; i++)
            {
                var bitNumber      = c.ReadInt();
                var exchange       = c.ReadString();
                var exchangeLetter = c.ReadChar();
                Map.Add(bitNumber, new KeyValuePair <string, char>(exchange, exchangeLetter));
            }
        }