Here are the examples of the csharp api class System.Collections.Concurrent.BlockingCollection.Add(VoiceReadyEventArgs) taken from open source projects. By voting up you can indicate which examples are most useful and appropriate.
1 Example
0
1. Example
Project: Discore
Source File: VoiceWebSocket.Payloads.cs
Source File: VoiceWebSocket.Payloads.cs
[Payload(VoiceOPCode.Ready)] void HandleReadyPayload(DiscordApiData payload, DiscordApiData data) { int port = data.GetInteger("port").Value; int ssrc = data.GetInteger("ssrc").Value; IList<DiscordApiData> modesArray = data.GetArray("modes"); string[] modes = new string[modesArray.Count]; for (int i = 0; i < modes.Length; i++) modes[i] = modesArray[i].ToString(); log.LogVerbose($"[Ready] ssrc = {ssrc}, port = {port}"); // Notify ReadyQueue.Add(new VoiceReadyEventArgs(port, ssrc, modes)); }