/*=========================================================================
        ** Initialize the data store.
        ** =========================================================================*/
        public LocalDataStore(LocalDataStoreMgr mgr, int InitialCapacity)
        {
            // Store the manager of the local data store.
            m_Manager = mgr;

            // Allocate the array that will contain the data.
            m_DataTable = new LocalDataStoreElement[InitialCapacity];
        }
Beispiel #2
0
 public LocalDataStore(LocalDataStoreMgr mgr, int InitialCapacity)
 {
     if (mgr == null)
     {
         throw new ArgumentNullException("mgr");
     }
     this.m_Manager   = mgr;
     this.m_DataTable = new object[InitialCapacity];
 }
Beispiel #3
0
        private int DONT_USE_InternalStore = 0; // pointer

        /*=========================================================================
        ** Initialize the data store.
        =========================================================================*/
        public LocalDataStore(LocalDataStoreMgr mgr, int InitialCapacity)
        {
            if (null == mgr)
                throw new ArgumentNullException("mgr");
            
            // Store the manager of the local data store.       
            m_Manager = mgr;
            
            // Allocate the array that will contain the data.
            m_DataTable = new Object[InitialCapacity];
        }
        private int DONT_USE_InternalStore = 0; // pointer

        /*=========================================================================
        ** Initialize the data store.
        ** =========================================================================*/
        public LocalDataStore(LocalDataStoreMgr mgr, int InitialCapacity)
        {
            if (null == mgr)
            {
                throw new ArgumentNullException("mgr");
            }

            // Store the manager of the local data store.
            m_Manager = mgr;

            // Allocate the array that will contain the data.
            m_DataTable = new Object[InitialCapacity];
        }
Beispiel #5
0
 /// <summary>Ensures that resources are freed and other cleanup operations are performed when the garbage collector reclaims the <see cref="T:System.LocalDataStoreSlot" /> object. </summary>
 // Token: 0x06000FE1 RID: 4065 RVA: 0x0003054C File Offset: 0x0002E74C
 protected override void Finalize()
 {
     try
     {
         LocalDataStoreMgr mgr = this.m_mgr;
         if (mgr != null)
         {
             int slot = this.m_slot;
             this.m_slot = -1;
             mgr.FreeDataSlot(slot, this.m_cookie);
         }
     }
     finally
     {
         base.Finalize();
     }
 }
 // Construct the object to encapsulate the slot.
 internal LocalDataStoreSlot(LocalDataStoreMgr mgr, int slot)
 {
     m_mgr  = mgr;
     m_slot = slot;
 }
Beispiel #7
0
        /*=========================================================================
        ** Initialize the data store.
        =========================================================================*/
        public LocalDataStore(LocalDataStoreMgr mgr, int InitialCapacity)
        {
            // Store the manager of the local data store.       
            m_Manager = mgr;

            // Allocate the array that will contain the data.
            m_DataTable = new LocalDataStoreElement[InitialCapacity];
        }
 // Construct the object to encapsulate the slot.
 internal LocalDataStoreSlot(LocalDataStoreMgr mgr, int slot, long cookie)
 {
     m_mgr = mgr;
     m_slot = slot;
     m_cookie = cookie;
 }
		// Construct the object to encapsulate the slot.
		internal LocalDataStoreSlot(LocalDataStoreMgr mgr, int slot)
		{
			m_mgr = mgr;
			m_slot = slot;
		}
 internal LocalDataStoreSlot(LocalDataStoreMgr mgr, int slot, long cookie)
 {
     this.m_mgr    = mgr;
     this.m_slot   = slot;
     this.m_cookie = cookie;
 }
		public LocalDataStore(LocalDataStoreMgr mgr, int InitialCapacity)
		{
			this.m_Manager = mgr;
			this.m_DataTable = new LocalDataStoreElement[InitialCapacity];
		}
 public LocalDataStore(LocalDataStoreMgr mgr, int InitialCapacity)
 {
     this.m_Manager   = mgr;
     this.m_DataTable = new LocalDataStoreElement[InitialCapacity];
 }
        }                                  // Dummy constructor

        public LocalDataStore(LocalDataStoreMgr mgr, int InitialCapacity)
        {
        }                                                                            // 0x0000000180631B90-0x0000000180631C10
        }                                      // Dummy constructor

        internal LocalDataStoreSlot(LocalDataStoreMgr mgr, int slot, long cookie)
        {
        }                                                                                    // 0x000000018067F050-0x000000018067F090