Beispiel #1
0
 public TypeDescriptor(TypeDescriptor baseDescriptor, int fixedTSize, FactoryTypeIdentifier tid, Type realType)
 {
     _base = baseDescriptor;
     if (_base != null)
     {
         _arrays.AddRange(_base.Arrays);
     }
     _fixedPartLenght = fixedTSize;
     _classIndex      = ClassNumber - 1;
     _tid             = tid;
     VirtualObjectFactory.RecordType(realType, _tid);
 }
Beispiel #2
0
        public VirtualObject <TKey> Get(TKey k)
        {
            var p = _map.Get(k.AsULong());

            return((VirtualObject <TKey>)VirtualObjectFactory.Rebirth(p));;
        }