コード例 #1
0
        /// <summary>
        /// Set the SpatialFieldManager and PrimitiveId in Thread Local Storage
        /// </summary>
        /// <param name="manager"></param>
        /// <param name="primitiveId"></param>
        protected void SetElementAndPrimitiveIdForTrace(SpatialFieldManager manager, int primitiveId)
        {
            if (manager == null)
            {
                throw new Exception();
            }

            SpmPrimitiveIdPair idPair = new SpmPrimitiveIdPair();

            idPair.SpatialFieldManagerID = manager.Id.IntegerValue;
            idPair.PrimitiveID           = primitiveId;
            ElementBinder.SetRawDataForTrace(idPair);
        }
コード例 #2
0
        /// <summary>
        /// Set the SpatialFieldManager and PrimitiveId in Thread Local Storage
        /// </summary>
        /// <param name="manager"></param>
        /// <param name="primitiveIds"></param>
        protected void SetElementAndPrimitiveIdsForTrace(SpatialFieldManager manager, List <int> primitiveIds)
        {
            if (manager == null)
            {
                throw new Exception();
            }

            var idPair = new SpmPrimitiveIdPair
            {
                SpatialFieldManagerID = manager.Id.IntegerValue,
                PrimitiveIds          = primitiveIds
            };

            ElementBinder.SetRawDataForTrace(idPair);
        }
コード例 #3
0
        /// <summary>
        /// Set the SpatialFieldManager and PrimitiveId in Thread Local Storage
        /// </summary>
        /// <param name="manager"></param>
        /// <param name="primitiveId"></param>
        protected void SetElementAndPrimitiveIdForTrace(SpatialFieldManager manager, int primitiveId)
        {
            if (manager == null)
            {
                throw new Exception();
            }

            SpmPrimitiveIdPair idPair = new SpmPrimitiveIdPair();
            idPair.SpatialFieldManagerID = manager.Id.IntegerValue;
            idPair.PrimitiveID = primitiveId;
            ElementBinder.SetRawDataForTrace(idPair);
        }
コード例 #4
0
        /// <summary>
        /// Set the SpatialFieldManager and PrimitiveId in Thread Local Storage
        /// </summary>
        /// <param name="manager"></param>
        /// <param name="map"></param>
        protected void SetElementAndPrimitiveIdsForTrace(SpatialFieldManager manager, List<int> primitiveIds)
        {
            if (manager == null)
            {
                throw new Exception();
            }

            var idPair = new SpmPrimitiveIdPair
            {
                SpatialFieldManagerID = manager.Id.IntegerValue,
                PrimitiveIds = primitiveIds
            };
            ElementBinder.SetRawDataForTrace(idPair);
        }