Esempio n. 1
0
        public void ThreadPoolCallback(object threadContext)
        {
            int threadIndex = (int)threadContext;

            if (_dataTransferObjects != null)
            {
                List <IDataObject> dataObjects = _projectionLayer.ToDataObjects(_graphMap, ref _dataTransferObjects);

                if (dataObjects != null)
                {
                    _response = _dataLayerGateway.Update(_objectType, dataObjects);
                }
            }

            _doneEvent.Set();
        }