Exemplo n.º 1
0
        public virtual void Release()
        {
            if (_uidFactory == null)
                return;

            ReleaseUniqueId();
            _uidFactory = null;
        }
Exemplo n.º 2
0
Arquivo: Uid.cs Projeto: tbs005/Temu
        public virtual void Release()
        {
            if (_uidFactory == null)
            {
                return;
            }

            ReleaseUniqueId();
            _uidFactory = null;
        }
Exemplo n.º 3
0
Arquivo: Uid.cs Projeto: tbs005/Temu
        //

        public static Uid GetObject(long longUID)
        {
            ObjectFamily family = (ObjectFamily)(longUID >> 32);

            return(UidFactory.Factory(family).FindObject((int)longUID));
        }
Exemplo n.º 4
0
Arquivo: Uid.cs Projeto: tbs005/Temu
 public void RegisterUid(UidFactory uidFactory = null)
 {
     _uidFactory = uidFactory ?? UidFactory.Factory(this);
     _uid        = _uidFactory.RegisterObject(this);
 }
Exemplo n.º 5
0
 public void RegisterUid(UidFactory uidFactory = null)
 {
     _uidFactory = uidFactory ?? UidFactory.Factory(this);
     _uid = _uidFactory.RegisterObject(this);
 }