Exemplo n.º 1
0
        protected virtual async Task <ConcurrentDictionary <Guid, bool> > GetChatUsersDictionary(Guid chatId)
        {
            var userIds = await ReadChatParticipantStore.RetrieveIds(chatId);

            return(new ConcurrentDictionary <Guid, bool>(userIds.Select(r => new KeyValuePair <Guid, bool>(r, false))));
        }