コード例 #1
0
        public void AddFortsCollateralsInfo(string data)
        {
            TransaqFortsCollaterals tfc = new TransaqFortsCollaterals(data);

            lock (this.lockerFortsCollaterals)
            {
                if (!this.FortsCollaterals.ContainsKey(tfc.Client))
                {
                    this.FortsCollaterals.Add(tfc.Client, tfc);
                }
                else
                {
                    this.FortsCollaterals[tfc.Client].Update(tfc);
                }
            }
        }
コード例 #2
0
ファイル: TransaqPositions.cs プロジェクト: smther/FreeOQ
 public void AddFortsCollateralsInfo(string data)
 {
   TransaqFortsCollaterals tfc = new TransaqFortsCollaterals(data);
   lock (this.lockerFortsCollaterals)
   {
     if (!this.FortsCollaterals.ContainsKey(tfc.Client))
       this.FortsCollaterals.Add(tfc.Client, tfc);
     else
       this.FortsCollaterals[tfc.Client].Update(tfc);
   }
 }