Here are the examples of the csharp api class System.Collections.Concurrent.ConcurrentBag.Add(LogChatDTO) taken from open source projects. By voting up you can indicate which examples are most useful and appropriate.
1 Example
0
1. Example
Project: OpenNos
Source File: LogHelper.cs
Source File: LogHelper.cs
public void InsertChatLog(ChatType type, long characterId, string message, string ipAddress) { LogChatDTO log = new LogChatDTO { CharacterId = characterId, ChatMessage = message, IpAddress = ipAddress, ChatType = (byte)type, Timestamp = DateTime.Now }; logChat.Add(log); }