Exemplo n.º 1
0
 public GreyFoxUser(int id)
 {
     this.iD = id;
     lock (this)
     {
         isSynced = GreyFoxUserManager._fill(this);
     }
 }
Exemplo n.º 2
0
        /// <summary>
        /// Ensures that the object's fields and children are
        /// pre-loaded before any updates or reads.
        /// </summary>
        public void EnsurePreLoad()
        {
            if (!isPlaceHolder)
            {
                return;
            }

            lock (this)
            {
                GreyFoxUserManager._fill(this);
                isPlaceHolder = false;
            }
        }