You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// Aggregate information using self's custom property keys
1310
+
for(key, value)in customPropertiesInt {
1311
+
// Set up overall summary
1312
+
varsummary= key.defaultSummary
1313
+
1314
+
// Include self's value into summary
1315
+
key.reduce(&summary, value)
1316
+
1317
+
// Save summary to dictionary
1318
+
customPropertiesIntSummary[key]= summary
1319
+
}
1320
+
1321
+
// MARK: Custom Properties (UInt64, UInt64)
1322
+
// Aggregate information using self's custom property keys
1323
+
for(key, value)in customPropertiesUInt64 {
1324
+
// Set up overall summary
1325
+
varsummary= key.defaultSummary
1326
+
1327
+
// Include self's value into summary
1328
+
key.reduce(&summary, value)
1329
+
1330
+
// Save summary to dictionary
1331
+
customPropertiesUInt64Summary[key]= summary
1332
+
}
1333
+
1334
+
// MARK: Custom Properties (UInt64, [UInt64])
1335
+
// Aggregate information using self's custom property keys
1336
+
for(key, value)in customPropertiesUInt64Array {
1337
+
// Set up overall summary
1338
+
varsummary= key.defaultSummary
1339
+
1340
+
// Include self's value into summary
1341
+
key.reduce(&summary, value)
1342
+
1343
+
// Save summary to dictionary
1344
+
customPropertiesUInt64ArraySummary[key]= summary
1345
+
}
1346
+
1347
+
// MARK: Custom Properties (Double, Double)
1348
+
// Aggregate information using self's custom property keys
1349
+
for(key, value)in customPropertiesDouble {
1350
+
// Set up overall summary
1351
+
varsummary= key.defaultSummary
1352
+
1353
+
// Include self's value into summary
1354
+
key.reduce(&summary, value)
1355
+
1356
+
// Save summary to dictionary
1357
+
customPropertiesDoubleSummary[key]= summary
1358
+
}
1359
+
1360
+
// MARK: Custom Properties (String?, [String?])
1361
+
// Aggregate information using self's custom property keys
1362
+
for(key, value)in customPropertiesString {
1363
+
// Set up overall summary
1364
+
varsummary= key.defaultSummary
1365
+
1366
+
// Include self's value into summary
1367
+
key.reduce(&summary, value)
1368
+
1369
+
// Save summary to dictionary
1370
+
customPropertiesStringSummary[key]= summary
1371
+
}
1372
+
1373
+
// MARK: Custom Properties (URL?, [URL?])
1374
+
// Aggregate information using self's custom property keys
1375
+
for(key, value)in customPropertiesURL {
1376
+
// Set up overall summary
1377
+
varsummary= key.defaultSummary
1378
+
1379
+
// Include self's value into summary
1380
+
key.reduce(&summary, value)
1381
+
1382
+
// Save summary to dictionary
1383
+
customPropertiesURLSummary[key]= summary
1384
+
}
1385
+
1386
+
// MARK: Custom Properties (Duration, Duration)
1387
+
// Aggregate information using self's custom property keys
1388
+
for(key, value)in customPropertiesDuration {
1389
+
// Set up overall summary
1390
+
varsummary= key.defaultSummary
1391
+
1392
+
// Include self's value into summary
1393
+
key.reduce(&summary, value)
1394
+
1395
+
// Save summary to dictionary
1396
+
customPropertiesDurationSummary[key]= summary
1397
+
}
1398
+
1399
+
// Include child's custom properties summaries, we need to take into account the fact that some of the children's custom properties may not be in self, so we need to check that too. As for the ones that are in self, we need to call finalSummary.
0 commit comments