/// <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); }
/// <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); }
/// <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); }