Exemplo n.º 1
0
        protected void SetElementAndPrimitiveIdListTrace(SpatialFieldManager manager, List <int> primitiveIds)
        {
            if (manager == null)
            {
                throw new Exception();
            }

            SpmPrimitiveIdListPair idPair = new SpmPrimitiveIdListPair();

            idPair.SpatialFieldManagerID = manager.Id.IntegerValue;
            idPair.PrimitiveIDs          = primitiveIds;
            ElementBinder.SetRawDataForTrace(idPair);
        }
Exemplo n.º 2
0
        protected void SetElementAndPrimitiveIdListTrace(SpatialFieldManager manager, List<int> primitiveIds)
        {
            if (manager == null)
            {
                throw new Exception();
            }

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