Exemplo n.º 1
0
        public UserConnectedChannelResult(channel channelWhithSingleConnected)
        {
            var connect = channelWhithSingleConnected.GetConnections().First();

            ChannelData           = channelWhithSingleConnected;
            ChannelConnectionId   = connect.Id;
            MessageSend           = connect.messageSend;
            MessageRead           = connect.messageRead;
            ConnectedUserId       = connect.userId;
            ConnectedUserPassword = connect.password;
        }