Пример #1
0
 public GreyFoxUser(int id)
 {
     this.iD = id;
     lock (this)
     {
         isSynced = GreyFoxUserManager._fill(this);
     }
 }
Пример #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;
            }
        }