System.LocalDataStore.LocalDataStore C# (CSharp) Method

LocalDataStore() public method

public LocalDataStore ( LocalDataStoreMgr mgr, int InitialCapacity ) : System
mgr LocalDataStoreMgr
InitialCapacity int
return System
        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];
        }