Esempio n. 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);
                }
            }
        }
Esempio n. 2
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);
   }
 }