示例#1
0
 public void StoreChatlog(ChatlogEntry Entry)
 {
     _lock.EnterUpgradeableReadLock();
     _chatlogs.Add(Entry);
     OnChatlogStore();
     _lock.ExitUpgradeableReadLock();
 }
示例#2
0
        public void StoreChatlog(ChatlogEntry Entry)
        {
            this._lock.EnterUpgradeableReadLock();

            this._chatlogs.Add(Entry);

            this.OnChatlogStore();

            this._lock.ExitUpgradeableReadLock();
        }