Skip to content
Merged
Show file tree
Hide file tree
Changes from 8 commits
Commits
Show all changes
327 commits
Select commit Hold shift + click to select a range
9c1b75d
Merge branch 'marcschier/wot-13-registry' into marcschier/wot-14-mate…
marcschier Aug 1, 2026
35df526
Merge branch 'marcschier/wot-14-materialization' into marcschier/wot-…
marcschier Aug 1, 2026
4ce3d98
Merge branch 'marcschier/wot-12-executors' into marcschier/wot-16-sam…
marcschier Aug 1, 2026
7567c9e
Add the WoT Connectivity samples and complete the documentation
marcschier Aug 1, 2026
5c0006b
Add the remaining WoT binding and aggregation tests
marcschier Aug 1, 2026
1018d78
Cover the DI transfer service binding extensions
marcschier Aug 1, 2026
a2e80a7
Cover the transactional subscription transfer failure paths
marcschier Aug 1, 2026
67307b1
Cover the registry client error and configuration paths
marcschier Aug 1, 2026
e847f82
Merge remote-tracking branch 'origin/master' into marcschier/wot-02-s…
marcschier Aug 1, 2026
0db3145
Merge remote-tracking branch 'origin/master' into marcschier/wot-05-l…
marcschier Aug 1, 2026
68ccb24
Merge remote-tracking branch 'origin/master' into marcschier/wot-09-x…
marcschier Aug 1, 2026
bbb6609
Merge branch 'marcschier/wot-03-converter' into marcschier/wot-04-gen…
marcschier Aug 1, 2026
4b77f5a
Merge branch 'marcschier/wot-05-lifecycle' into marcschier/wot-07-sub…
marcschier Aug 1, 2026
abc2009
Merge branch 'marcschier/wot-04-generator-wot' into marcschier/wot-10…
marcschier Aug 1, 2026
6ec81e2
Merge branch 'marcschier/wot-10-wotcon-model' into marcschier/wot-11-…
marcschier Aug 1, 2026
3846fec
Merge branch 'marcschier/wot-10-wotcon-model' into marcschier/wot-15-…
marcschier Aug 1, 2026
f01902f
Merge branch 'marcschier/wot-11-bindings-core' into marcschier/wot-12…
marcschier Aug 1, 2026
9d44482
Merge branch 'marcschier/wot-11-bindings-core' into marcschier/wot-13…
marcschier Aug 1, 2026
45689f9
Merge branch 'marcschier/wot-13-registry' into marcschier/wot-14-mate…
marcschier Aug 1, 2026
22f7486
Merge branch 'marcschier/wot-05-lifecycle' into marcschier/wot-14-mat…
marcschier Aug 1, 2026
15aedb2
Merge branch 'marcschier/wot-01-core-types' into marcschier/wot-14-ma…
marcschier Aug 1, 2026
588799c
Merge branch 'marcschier/wot-14-materialization' into marcschier/wot-…
marcschier Aug 1, 2026
0845948
Merge branch 'marcschier/wot-15-client' into marcschier/wot-16-samples
marcschier Aug 1, 2026
95bead1
Merge branch 'marcschier/wot-12-executors' into marcschier/wot-16-sam…
marcschier Aug 1, 2026
02473dd
Adapt WoT server methods to typed generated signatures
marcschier Aug 1, 2026
7a2074e
Merge branch 'marcschier/wot-13-registry' into marcschier/wot-14-mate…
marcschier Aug 1, 2026
507f750
Merge branch 'marcschier/wot-14-materialization' into marcschier/wot-…
marcschier Aug 1, 2026
3febe7e
Merge branch 'marcschier/wot-03-converter' into marcschier/wot-02-sou…
marcschier Aug 1, 2026
be2a922
Merge branch 'marcschier/wot-02-sourcegen' into marcschier/wot-04-gen…
marcschier Aug 1, 2026
147fb77
Merge branch 'marcschier/wot-04-generator-wot' into marcschier/wot-05…
marcschier Aug 1, 2026
a287a39
Merge branch 'marcschier/wot-05-lifecycle' into marcschier/wot-07-sub…
marcschier Aug 1, 2026
cfe1a41
Merge branch 'marcschier/wot-07-subscription-transfer' into marcschie…
marcschier Aug 1, 2026
32401f4
Merge branch 'marcschier/wot-09-xregistry-client' into marcschier/wot…
marcschier Aug 1, 2026
8e39cbc
Merge branch 'marcschier/wot-10-wotcon-model' into marcschier/wot-11-…
marcschier Aug 1, 2026
b155e9c
Merge branch 'marcschier/wot-11-bindings-core' into marcschier/wot-12…
marcschier Aug 1, 2026
b3b2ead
Merge wot-12-executors and retire IAtomicFileReplace
marcschier Aug 1, 2026
cd84294
Merge branch 'marcschier/wot-15-client' into marcschier/wot-14-materi…
marcschier Aug 1, 2026
237c7d0
Merge branch 'marcschier/wot-13-registry' into marcschier/wot-15-client
marcschier Aug 1, 2026
777e0a8
Merge branch 'marcschier/wot-15-client' into marcschier/wot-14-materi…
marcschier Aug 1, 2026
9e5c9c5
Merge branch 'marcschier/wot-14-materialization' into marcschier/wot-…
marcschier Aug 1, 2026
1387294
Merge branch 'marcschier/wot-15-client' into marcschier/wot-14-materi…
marcschier Aug 1, 2026
9bce9c4
Merge branch 'marcschier/wot-14-materialization' into marcschier/wot-…
marcschier Aug 1, 2026
4d0aa5a
Update placeholder accessor call sites to the generated names
marcschier Aug 1, 2026
2fee8b5
Merge branch 'marcschier/wot-02-sourcegen' into marcschier/wot-04-gen…
marcschier Aug 1, 2026
ec40789
Merge branch 'marcschier/wot-04-generator-wot' into marcschier/wot-05…
marcschier Aug 1, 2026
eb6e24e
Merge branch 'marcschier/wot-05-lifecycle' into marcschier/wot-07-sub…
marcschier Aug 1, 2026
2badbb1
Merge branch 'marcschier/wot-07-subscription-transfer' into marcschie…
marcschier Aug 1, 2026
059a4e1
Merge branch 'marcschier/wot-09-xregistry-client' into marcschier/wot…
marcschier Aug 1, 2026
7232581
Merge branch 'marcschier/wot-10-wotcon-model' into marcschier/wot-11-…
marcschier Aug 1, 2026
523d7a8
Merge branch 'marcschier/wot-11-bindings-core' into marcschier/wot-12…
marcschier Aug 1, 2026
099ea11
Merge branch 'marcschier/wot-12-executors' into marcschier/wot-13-reg…
marcschier Aug 1, 2026
e19f175
Merge branch 'marcschier/wot-13-registry' into marcschier/wot-15-client
marcschier Aug 1, 2026
cd61d63
Merge branch 'marcschier/wot-15-client' into marcschier/wot-14-materi…
marcschier Aug 1, 2026
b3f594d
Merge branch 'marcschier/wot-14-materialization' into marcschier/wot-…
marcschier Aug 1, 2026
956f632
Use the path-qualified generated method types
marcschier Aug 1, 2026
5d7248e
Merge branch 'marcschier/wot-10-wotcon-model' into marcschier/wot-11-…
marcschier Aug 1, 2026
f53ceac
Merge branch 'marcschier/wot-11-bindings-core' into marcschier/wot-12…
marcschier Aug 1, 2026
1ae01a3
Use the path-qualified generated method types
marcschier Aug 1, 2026
3ab25dc
Merge branch 'marcschier/wot-10-wotcon-model' into marcschier/wot-11-…
marcschier Aug 1, 2026
fbbb2f1
Merge branch 'marcschier/wot-11-bindings-core' into marcschier/wot-12…
marcschier Aug 1, 2026
588a285
Merge branch 'marcschier/wot-12-executors' into marcschier/wot-13-reg…
marcschier Aug 1, 2026
72d3395
Merge branch 'marcschier/wot-13-registry' into marcschier/wot-15-client
marcschier Aug 1, 2026
ce7dc6f
Merge branch 'marcschier/wot-15-client' into marcschier/wot-14-materi…
marcschier Aug 1, 2026
b9ddcb1
Merge branch 'marcschier/wot-14-materialization' into marcschier/wot-…
marcschier Aug 1, 2026
c2d5d16
Merge branch 'marcschier/wot-12-executors' into marcschier/wot-13-reg…
marcschier Aug 1, 2026
6b1a93a
Merge branch 'marcschier/wot-13-registry' into marcschier/wot-15-client
marcschier Aug 1, 2026
cdc7064
Merge branch 'marcschier/wot-15-client' into marcschier/wot-14-materi…
marcschier Aug 1, 2026
30d4259
Merge branch 'marcschier/wot-14-materialization' into marcschier/wot-…
marcschier Aug 1, 2026
9525d44
Harden WoT binding DI and disposal behavior
marcschier Aug 1, 2026
7abd67c
Address WoT registry review feedback
marcschier Aug 1, 2026
36c3389
Address WoT materialization review feedback
marcschier Aug 1, 2026
3966144
Address WoT samples review feedback
marcschier Aug 1, 2026
5f19e8d
Address WoT executor review feedback
marcschier Aug 1, 2026
72272c8
Route WoT polling diagnostics through telemetry
marcschier Aug 1, 2026
b3daa1c
Merge remote-tracking branch 'origin/marcschier/wot-11-bindings-core'…
marcschier Aug 1, 2026
7cd218a
Default WoT executor telemetry from the ambient message context
marcschier Aug 1, 2026
8369ec8
Merge remote-tracking branch 'origin/marcschier/wot-11-bindings-core'…
marcschier Aug 1, 2026
c3ee677
Pass the executor telemetry context into polling subscriptions
marcschier Aug 1, 2026
3ab37a1
Merge remote-tracking branch 'origin/marcschier/wot-12-executors' int…
marcschier Aug 1, 2026
316e93e
Merge remote-tracking branch 'origin/marcschier/wot-13-registry' into…
marcschier Aug 1, 2026
f0a69ad
Merge remote-tracking branch 'origin/marcschier/wot-15-client' into m…
marcschier Aug 1, 2026
182d905
Merge remote-tracking branch 'origin/marcschier/wot-14-materializatio…
marcschier Aug 1, 2026
01d58cb
Allow loopback endpoints in the aggregation sample
marcschier Aug 2, 2026
d9e0c05
Make model change tracking await event item creation
marcschier Aug 2, 2026
8110f7a
Merge remote-tracking branch 'origin/marcschier/wot-05-lifecycle' int…
marcschier Aug 2, 2026
d935c50
Merge remote-tracking branch 'origin/marcschier/wot-07-subscription-t…
marcschier Aug 2, 2026
432a545
Merge remote-tracking branch 'origin/marcschier/wot-09-xregistry-clie…
marcschier Aug 2, 2026
677f386
Merge remote-tracking branch 'origin/marcschier/wot-10-wotcon-model' …
marcschier Aug 2, 2026
ae8e063
Merge remote-tracking branch 'origin/marcschier/wot-11-bindings-core'…
marcschier Aug 2, 2026
facc3b7
Merge remote-tracking branch 'origin/marcschier/wot-12-executors' int…
marcschier Aug 2, 2026
d614cc6
Merge remote-tracking branch 'origin/marcschier/wot-13-registry' into…
marcschier Aug 2, 2026
237730a
Merge remote-tracking branch 'origin/marcschier/wot-15-client' into m…
marcschier Aug 2, 2026
eaa7081
Merge remote-tracking branch 'origin/marcschier/wot-14-materializatio…
marcschier Aug 2, 2026
aca36d3
Merge remote-tracking branch 'origin/marcschier/wot-03-converter' int…
marcschier Aug 3, 2026
c0e02fd
Merge remote-tracking branch 'origin/marcschier/wot-02-sourcegen' int…
marcschier Aug 3, 2026
758b710
Merge remote-tracking branch 'origin/marcschier/wot-04-generator-wot'…
marcschier Aug 3, 2026
c360578
Merge remote-tracking branch 'origin/marcschier/wot-05-lifecycle' int…
marcschier Aug 3, 2026
507f3f2
Merge remote-tracking branch 'origin/marcschier/wot-07-subscription-t…
marcschier Aug 3, 2026
ec16a9b
Merge remote-tracking branch 'origin/marcschier/wot-09-xregistry-clie…
marcschier Aug 3, 2026
760ffa7
Merge remote-tracking branch 'origin/marcschier/wot-10-wotcon-model' …
marcschier Aug 3, 2026
0c47b37
Merge remote-tracking branch 'origin/marcschier/wot-11-bindings-core'…
marcschier Aug 3, 2026
f60d0d0
Merge remote-tracking branch 'origin/marcschier/wot-12-executors' int…
marcschier Aug 3, 2026
3f38a12
Merge remote-tracking branch 'origin/marcschier/wot-13-registry' into…
marcschier Aug 3, 2026
571eaf4
Merge remote-tracking branch 'origin/marcschier/wot-15-client' into m…
marcschier Aug 3, 2026
598644f
Merge remote-tracking branch 'origin/marcschier/wot-14-materializatio…
marcschier Aug 3, 2026
1b61a0b
Make StandardServer async disposal deterministic
marcschier Aug 3, 2026
2cdeae6
Merge remote-tracking branch 'origin/marcschier/wot-05-lifecycle' int…
marcschier Aug 3, 2026
557be4c
Merge remote-tracking branch 'origin/marcschier/wot-07-subscription-t…
marcschier Aug 3, 2026
665eb63
Merge remote-tracking branch 'origin/marcschier/wot-09-xregistry-clie…
marcschier Aug 3, 2026
d21dd80
Merge remote-tracking branch 'origin/marcschier/wot-10-wotcon-model' …
marcschier Aug 3, 2026
74d2b90
Merge remote-tracking branch 'origin/marcschier/wot-11-bindings-core'…
marcschier Aug 3, 2026
ee1b4b9
Merge remote-tracking branch 'origin/marcschier/wot-12-executors' int…
marcschier Aug 3, 2026
980e346
Merge remote-tracking branch 'origin/marcschier/wot-13-registry' into…
marcschier Aug 3, 2026
eca062a
Merge remote-tracking branch 'origin/marcschier/wot-15-client' into m…
marcschier Aug 3, 2026
27ba9cd
Merge remote-tracking branch 'origin/marcschier/wot-14-materializatio…
marcschier Aug 3, 2026
bb60d87
Align the new WoT documentation links
marcschier Aug 3, 2026
e9e643c
Document lifecycle reload and rollback behavior
marcschier Aug 3, 2026
8623b6a
Merge remote-tracking branch 'origin/marcschier/wot-05-lifecycle' int…
marcschier Aug 3, 2026
848f3c1
Merge remote-tracking branch 'origin/marcschier/wot-07-subscription-t…
marcschier Aug 3, 2026
b04d0fe
Merge remote-tracking branch 'origin/marcschier/wot-09-xregistry-clie…
marcschier Aug 3, 2026
bd5e768
Merge remote-tracking branch 'origin/marcschier/wot-10-wotcon-model' …
marcschier Aug 3, 2026
fff8967
Merge remote-tracking branch 'origin/marcschier/wot-11-bindings-core'…
marcschier Aug 3, 2026
50c75d1
Merge remote-tracking branch 'origin/marcschier/wot-12-executors' int…
marcschier Aug 3, 2026
78b423f
Merge remote-tracking branch 'origin/marcschier/wot-13-registry' into…
marcschier Aug 3, 2026
7fc33ad
Merge remote-tracking branch 'origin/marcschier/wot-15-client' into m…
marcschier Aug 3, 2026
478110f
Merge remote-tracking branch 'origin/marcschier/wot-14-materializatio…
marcschier Aug 3, 2026
66f598b
Correct the monitored item transfer coordinator summary
marcschier Aug 3, 2026
f70dd4e
Merge remote-tracking branch 'origin/marcschier/wot-05-lifecycle' int…
marcschier Aug 3, 2026
089156d
Merge remote-tracking branch 'origin/marcschier/wot-07-subscription-t…
marcschier Aug 3, 2026
c6d5bbb
Merge remote-tracking branch 'origin/marcschier/wot-09-xregistry-clie…
marcschier Aug 3, 2026
e686c3a
Merge remote-tracking branch 'origin/marcschier/wot-10-wotcon-model' …
marcschier Aug 3, 2026
234130b
Merge remote-tracking branch 'origin/marcschier/wot-11-bindings-core'…
marcschier Aug 3, 2026
4347581
Merge remote-tracking branch 'origin/marcschier/wot-12-executors' int…
marcschier Aug 3, 2026
dc75d48
Merge remote-tracking branch 'origin/marcschier/wot-13-registry' into…
marcschier Aug 3, 2026
7498344
Merge remote-tracking branch 'origin/marcschier/wot-15-client' into m…
marcschier Aug 3, 2026
f093746
Merge remote-tracking branch 'origin/marcschier/wot-14-materializatio…
marcschier Aug 3, 2026
aaab77e
Treat the WoT management minimum security mode as a floor
marcschier Aug 3, 2026
73ae55f
Merge remote-tracking branch 'origin/marcschier/wot-10-wotcon-model' …
marcschier Aug 3, 2026
bf45718
Merge remote-tracking branch 'origin/marcschier/wot-11-bindings-core'…
marcschier Aug 3, 2026
3ea8430
Merge remote-tracking branch 'origin/marcschier/wot-12-executors' int…
marcschier Aug 3, 2026
6653b40
Merge remote-tracking branch 'origin/marcschier/wot-13-registry' into…
marcschier Aug 3, 2026
54a6f73
Merge remote-tracking branch 'origin/marcschier/wot-15-client' into m…
marcschier Aug 3, 2026
7b00194
Treat the registry management minimum security mode as a floor
marcschier Aug 3, 2026
4fc98de
Merge remote-tracking branch 'origin/marcschier/wot-14-materializatio…
marcschier Aug 3, 2026
7f5cca0
Keep WoT materialization dry runs side-effect free
marcschier Aug 3, 2026
1feef01
Apply owner-approved sync disposal bridge
marcschier Aug 3, 2026
1513dd3
Make StandardServer disposal block deterministically
marcschier Aug 3, 2026
d47e8aa
Merge remote-tracking branch 'origin/marcschier/wot-05-lifecycle' int…
marcschier Aug 3, 2026
6d0780a
Merge remote-tracking branch 'origin/marcschier/wot-07-subscription-t…
marcschier Aug 3, 2026
917997a
Merge remote-tracking branch 'origin/marcschier/wot-09-xregistry-clie…
marcschier Aug 3, 2026
54b96b7
Merge remote-tracking branch 'origin/marcschier/wot-10-wotcon-model' …
marcschier Aug 3, 2026
828f6bd
Merge remote-tracking branch 'origin/marcschier/wot-11-bindings-core'…
marcschier Aug 3, 2026
a9a1239
Merge remote-tracking branch 'origin/marcschier/wot-12-executors' int…
marcschier Aug 3, 2026
6aeca99
Merge remote-tracking branch 'origin/marcschier/wot-13-registry' into…
marcschier Aug 3, 2026
66fe980
Merge remote-tracking branch 'origin/marcschier/wot-15-client' into m…
marcschier Aug 3, 2026
5a1aca1
Merge remote-tracking branch 'origin/marcschier/wot-14-materializatio…
marcschier Aug 3, 2026
f2355fd
Make sampling interval queue test deterministic
marcschier Aug 3, 2026
e6e612d
Merge remote-tracking branch 'origin/marcschier/wot-03-converter' int…
marcschier Aug 3, 2026
4382e24
Merge remote-tracking branch 'origin/marcschier/wot-02-sourcegen' int…
marcschier Aug 3, 2026
6168083
Merge remote-tracking branch 'origin/marcschier/wot-03-converter' int…
marcschier Aug 3, 2026
3ad2c01
Merge remote-tracking branch 'origin/marcschier/wot-02-sourcegen' int…
marcschier Aug 3, 2026
b13c043
Merge remote-tracking branch 'origin/marcschier/wot-04-generator-wot'…
marcschier Aug 3, 2026
5260eda
Merge remote-tracking branch 'origin/marcschier/wot-05-lifecycle' int…
marcschier Aug 3, 2026
0a3d1f6
Merge remote-tracking branch 'origin/marcschier/wot-07-subscription-t…
marcschier Aug 3, 2026
772a61a
Merge remote-tracking branch 'origin/marcschier/wot-09-xregistry-clie…
marcschier Aug 3, 2026
591dcb3
Merge remote-tracking branch 'origin/marcschier/wot-10-wotcon-model' …
marcschier Aug 3, 2026
8e101d0
Merge remote-tracking branch 'origin/marcschier/wot-11-bindings-core'…
marcschier Aug 3, 2026
7c29fe5
Merge remote-tracking branch 'origin/marcschier/wot-12-executors' int…
marcschier Aug 3, 2026
d4e3ffb
Merge remote-tracking branch 'origin/marcschier/wot-13-registry' into…
marcschier Aug 3, 2026
7c24898
Merge remote-tracking branch 'origin/marcschier/wot-15-client' into m…
marcschier Aug 3, 2026
76498d8
Merge remote-tracking branch 'origin/marcschier/wot-14-materializatio…
marcschier Aug 3, 2026
ef777e6
Simplify lifecycle shutdown and transfer cleanup
marcschier Aug 4, 2026
fbba978
Remove ambient monitored item transfer state
marcschier Aug 4, 2026
634e6e3
Merge remote-tracking branch 'origin/marcschier/wot-03-converter' int…
marcschier Aug 4, 2026
7a22b0f
Merge remote-tracking branch 'origin/marcschier/wot-02-sourcegen' int…
marcschier Aug 4, 2026
8edb7b9
Remove condition refresh test hooks
marcschier Aug 4, 2026
8585a3e
Merge remote-tracking branch 'origin/marcschier/wot-04-generator-wot'…
marcschier Aug 4, 2026
cf27f6c
Merge remote-tracking branch 'origin/marcschier/wot-05-lifecycle' int…
marcschier Aug 4, 2026
cabdf4b
Merge remote-tracking branch 'origin/marcschier/wot-07-subscription-t…
marcschier Aug 4, 2026
22c2c6e
Merge remote-tracking branch 'origin/marcschier/wot-09-xregistry-clie…
marcschier Aug 4, 2026
62f7a0b
Merge remote-tracking branch 'origin/marcschier/wot-10-wotcon-model' …
marcschier Aug 4, 2026
f643291
Merge remote-tracking branch 'origin/marcschier/wot-11-bindings-core'…
marcschier Aug 4, 2026
20db0ad
Merge remote-tracking branch 'origin/marcschier/wot-12-executors' int…
marcschier Aug 4, 2026
eba74e5
Merge remote-tracking branch 'origin/marcschier/wot-13-registry' into…
marcschier Aug 4, 2026
c63d712
Merge remote-tracking branch 'origin/marcschier/wot-15-client' into m…
marcschier Aug 4, 2026
a3eae58
Merge remote-tracking branch 'origin/marcschier/wot-14-materializatio…
marcschier Aug 4, 2026
a238381
Fix WoT materialization shutdown ordering
marcschier Aug 4, 2026
9edb995
Merge remote-tracking branch 'origin/marcschier/wot-14-materializatio…
marcschier Aug 4, 2026
98a5070
Skip projection lifecycle removal during shutdown
marcschier Aug 4, 2026
b139d1a
Merge remote-tracking branch 'origin/marcschier/wot-14-materializatio…
marcschier Aug 4, 2026
774dde7
Expose lifecycle shutdown state on INodeManagerLifecycle
marcschier Aug 4, 2026
b6382a4
Merge remote-tracking branch 'origin/marcschier/wot-05-lifecycle' int…
marcschier Aug 4, 2026
43f6e29
Merge remote-tracking branch 'origin/marcschier/wot-07-subscription-t…
marcschier Aug 4, 2026
c9f0f8b
Merge remote-tracking branch 'origin/marcschier/wot-09-xregistry-clie…
marcschier Aug 4, 2026
7c56fa6
Merge remote-tracking branch 'origin/marcschier/wot-10-wotcon-model' …
marcschier Aug 4, 2026
aed8d5d
Merge remote-tracking branch 'origin/marcschier/wot-11-bindings-core'…
marcschier Aug 4, 2026
ec9586e
Merge remote-tracking branch 'origin/marcschier/wot-12-executors' int…
marcschier Aug 4, 2026
4df8cbc
Merge remote-tracking branch 'origin/marcschier/wot-13-registry' into…
marcschier Aug 4, 2026
ab8c175
Merge remote-tracking branch 'origin/marcschier/wot-15-client' into m…
marcschier Aug 4, 2026
f1993c9
Merge remote-tracking branch 'origin/marcschier/wot-14-materializatio…
marcschier Aug 4, 2026
a0591fa
Merge remote-tracking branch 'origin/marcschier/wot-03-converter' int…
marcschier Aug 4, 2026
ac9b86c
Merge remote-tracking branch 'origin/marcschier/wot-02-sourcegen' int…
marcschier Aug 4, 2026
f4ad2d3
Merge origin/master into marcschier/wot-05-lifecycle
marcschier Aug 4, 2026
ab6093e
Merge remote-tracking branch 'origin/marcschier/wot-05-lifecycle' int…
marcschier Aug 4, 2026
044f860
Merge remote-tracking branch 'origin/marcschier/wot-07-subscription-t…
marcschier Aug 4, 2026
8cbf4ca
Merge remote-tracking branch 'origin/marcschier/wot-09-xregistry-clie…
marcschier Aug 4, 2026
02294da
Merge remote-tracking branch 'origin/marcschier/wot-10-wotcon-model' …
marcschier Aug 4, 2026
668f84d
Merge remote-tracking branch 'origin/marcschier/wot-11-bindings-core'…
marcschier Aug 4, 2026
605dda4
Merge remote-tracking branch 'origin/marcschier/wot-12-executors' int…
marcschier Aug 4, 2026
07b4b83
Merge remote-tracking branch 'origin/marcschier/wot-13-registry' into…
marcschier Aug 4, 2026
33c2900
Merge remote-tracking branch 'origin/marcschier/wot-15-client' into m…
marcschier Aug 4, 2026
0377e13
Merge remote-tracking branch 'origin/marcschier/wot-14-materializatio…
marcschier Aug 4, 2026
3d6b808
Pass an explicit caller context to the NodeManager lifecycle
marcschier Aug 4, 2026
39f5042
Merge remote-tracking branch 'origin/marcschier/wot-14-materializatio…
marcschier Aug 4, 2026
d626cfe
Restore the service dispatch scope used to correlate drain waiters
marcschier Aug 4, 2026
cd5b72c
Pass an explicit caller context in the WoT live server tests
marcschier Aug 4, 2026
4f1b32b
Merge remote-tracking branch 'origin/marcschier/wot-05-lifecycle' int…
marcschier Aug 4, 2026
e4b3cfa
Merge remote-tracking branch 'origin/marcschier/wot-07-subscription-t…
marcschier Aug 4, 2026
1c6fc5b
Merge remote-tracking branch 'origin/marcschier/wot-09-xregistry-clie…
marcschier Aug 4, 2026
932a977
Merge remote-tracking branch 'origin/marcschier/wot-10-wotcon-model' …
marcschier Aug 4, 2026
16cf27f
Merge remote-tracking branch 'origin/marcschier/wot-11-bindings-core'…
marcschier Aug 4, 2026
7ae2e9c
Merge remote-tracking branch 'origin/marcschier/wot-12-executors' int…
marcschier Aug 4, 2026
01df322
Merge remote-tracking branch 'origin/marcschier/wot-13-registry' into…
marcschier Aug 4, 2026
cb6d517
Merge remote-tracking branch 'origin/marcschier/wot-15-client' into m…
marcschier Aug 4, 2026
0726236
Merge remote-tracking branch 'origin/marcschier/wot-14-materializatio…
marcschier Aug 4, 2026
a3cb074
Restore WoT asset registry bridge (#4171)
marcschier Aug 4, 2026
a1202a9
Merge remote-tracking branch 'origin/marcschier/wot-03-converter' int…
marcschier Aug 5, 2026
97bda78
Merge remote-tracking branch 'origin/marcschier/wot-02-sourcegen' int…
marcschier Aug 5, 2026
b4d4960
Merge remote-tracking branch 'origin/marcschier/wot-04-generator-wot'…
marcschier Aug 5, 2026
6390521
Merge remote-tracking branch 'origin/marcschier/wot-05-lifecycle' int…
marcschier Aug 5, 2026
4db5926
Merge remote-tracking branch 'origin/marcschier/wot-07-subscription-t…
marcschier Aug 5, 2026
9d5f244
Merge remote-tracking branch 'origin/marcschier/wot-09-xregistry-clie…
marcschier Aug 5, 2026
d98dec8
Merge remote-tracking branch 'origin/marcschier/wot-10-wotcon-model' …
marcschier Aug 5, 2026
c68fc3c
Merge remote-tracking branch 'origin/marcschier/wot-11-bindings-core'…
marcschier Aug 5, 2026
89ebba8
Merge remote-tracking branch 'origin/marcschier/wot-12-executors' int…
marcschier Aug 5, 2026
9f4c9f8
Merge remote-tracking branch 'origin/marcschier/wot-13-registry' into…
marcschier Aug 5, 2026
6d7bd53
Merge remote-tracking branch 'origin/marcschier/wot-15-client' into m…
marcschier Aug 5, 2026
58f0f9f
Merge remote-tracking branch 'origin/marcschier/wot-14-materializatio…
marcschier Aug 5, 2026
e41c0e3
Merge remote-tracking branch 'origin/marcschier/wot-16-samples' into …
marcschier Aug 5, 2026
39f655f
[WotCon] Add the WoT Connectivity samples and complete the documentat…
marcschier Aug 5, 2026
b6ac567
[WotCon] Materialize WoT Thing Descriptions into the server address s…
marcschier Aug 5, 2026
3388cf5
[WotCon] Add the WoT Connectivity registry client (#4142)
marcschier Aug 5, 2026
e8ac13a
[WotCon] Add the WoT Connectivity registry and its stores (#4146)
marcschier Aug 5, 2026
7d60213
[WotCon] Add the HTTP, Modbus, OPC UA and MQTT binding executors (#4144)
marcschier Aug 5, 2026
ea34726
[WotCon] Add the WoT protocol binding abstractions and planners (#4140)
marcschier Aug 5, 2026
732af2d
[WotCon] Add the WoT Connectivity 1.1 information model (#4139)
marcschier Aug 5, 2026
1f985f3
[XRegistry] Allow clients to use explicit registry roots (#4130)
marcschier Aug 5, 2026
2a71aa9
[Server] Make subscription transfer between sessions transactional (#…
marcschier Aug 5, 2026
f229529
[Server] Add live NodeManager shadow and immediate reload (#4147)
marcschier Aug 5, 2026
6573b9f
[SourceGeneration] Generate OPC UA models from WoT Thing Description …
marcschier Aug 5, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion src/Opc.Ua.Di.Server/DiNodeManager.cs
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@
using Opc.Ua.Di.Server.Builders;
using Opc.Ua.Server;
using Opc.Ua.Server.Fluent;
using Opc.Ua.Server.NodeManager;
using ConformanceUnitNames = Opc.Ua.Di.Server.ConformanceUnits;
using ServerProfileUris = Opc.Ua.Di.Server.ServerProfiles;

Expand Down Expand Up @@ -825,7 +826,8 @@ internal NodeManagerBuilder GetOrCreateBuilder()
}
}
return results;
});
},
dataTypeId => PredefinedNodes.Values.FindByDataType(dataTypeId));

AttachToBuilder(m_builder);
return m_builder;
Expand Down
306 changes: 153 additions & 153 deletions src/Opc.Ua.ISA95/Design/Common/Opc.ISA95.NodeIds.csv

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions src/Opc.Ua.OpenUsd.Server/OpenUsdRepresentationAuthoring.cs
Original file line number Diff line number Diff line change
Expand Up @@ -138,11 +138,11 @@ public static OpenUsdLiveBindingState AddLiveBinding(
throw new ArgumentNullException(nameof(context));
}

// AddxBinding_ instantiates the <Binding> placeholder as a HasComponent
// AddBinding_Placeholder instantiates the <Binding> placeholder as a HasComponent
// child (browsable) and creates its mandatory base members. The binding
// intent is the concrete subtype (§5.4): retype the instance to the
// requested OpenUsd{ValueChange,Alarm,History,Command}BindingType.
OpenUsdLiveBindingState b = representation.AddxBinding_(context, new QualifiedName(name, ns));
OpenUsdLiveBindingState b = representation.AddBinding_Placeholder(context, new QualifiedName(name, ns));
b.TypeDefinitionId = new NodeId(bindingTypeId, ns);

// Mandatory base members already exist on the instance; set their values.
Expand Down Expand Up @@ -245,7 +245,7 @@ public static OpenUsdComponentBindingState AddComponentBinding(
throw new ArgumentNullException(nameof(context));
}

OpenUsdComponentBindingState b = representation.AddxComponent_(context, new QualifiedName(name, ns));
OpenUsdComponentBindingState b = representation.AddComponent_Placeholder(context, new QualifiedName(name, ns));
b.CreateOrReplaceBindingDefinitionId(context, null!).Value = new Uuid(bindingDefinitionId);
b.CreateOrReplaceEnabled(context, null!).Value = true;
b.CreateOrReplaceCardinality(context, null!).Value = cardinality;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ private static UsdAttributeState MaterializeAttribute(
ushort ns,
UsdMaterializationOptions options)
{
UsdAttributeState node = primNode.AddxUsdAttribute_(
UsdAttributeState node = primNode.AddUsdAttribute_Placeholder(
context, new QualifiedName(attribute.Name, ns));

UsdValueTypeMapping mapping = UsdValueTypeMap.Map(
Expand Down Expand Up @@ -140,7 +140,7 @@ private static UsdRelationshipState MaterializeRelationship(
UsdRelationship relationship,
ushort ns)
{
UsdRelationshipState node = primNode.AddxUsdRelationship_(
UsdRelationshipState node = primNode.AddUsdRelationship_Placeholder(
context, new QualifiedName(relationship.Name, ns));

var paths = new string[relationship.Targets.Count];
Expand Down Expand Up @@ -295,9 +295,9 @@ private static void MaterializeVariantSets(
// (fail closed); its selection is still carried by the Selection property above.
foreach (UsdPrim branch in variantSet.Variants)
{
UsdPrimState branchNode = node.AddxVariant_(
UsdPrimState branchNode = node.AddVariant_Placeholder(
context, new QualifiedName(branch.Name, ns));
// AddxVariant_ leaves the type's placeholder NodeId (i=6055); force a fresh
// AddVariant_Placeholder leaves the type's placeholder NodeId (i=6055); force a fresh
// per-instance NodeId so branches on different sets never collide, matching
// how the CreateInstanceOf* factories mint instance ids.
context.AssignInstanceNodeId(branchNode);
Expand Down
10 changes: 5 additions & 5 deletions src/Opc.Ua.OpenUsdScene.Server/UsdSceneMaterializer.cs
Original file line number Diff line number Diff line change
Expand Up @@ -462,12 +462,12 @@ private static void MaterializePrim(
// A prim of a known typed schema is instantiated as that generated ObjectType
// subclass, so the node *is* the type it declares and carries the subtype's
// members (§5.3). An unknown schema returns null here and degrades to a concrete
// UsdPrimType via AddxUsdPrim_, still keeping its TypeName token (§8.4).
// UsdPrimType via AddUsdPrim_Placeholder, still keeping its TypeName token (§8.4).
UsdPrimState? primNode = CreateTypedPrimInstance(context, parent, prim.TypeName, browseName);
primNode ??= parent switch
{
UsdStageState stageParent => stageParent.AddxUsdPrim_(context, browseName),
UsdPrimState primParent => primParent.AddxUsdPrim_(context, browseName),
UsdStageState stageParent => stageParent.AddUsdPrim_Placeholder(context, browseName),
UsdPrimState primParent => primParent.AddUsdPrim_Placeholder(context, browseName),
_ => throw new ArgumentException(
"A prim can only be materialized under a stage or another prim.",
nameof(parent))
Expand Down Expand Up @@ -577,7 +577,7 @@ private static void PopulatePrimNode(

/// <summary>
/// Instantiates a prim as the generated State subclass for a known typed schema (§5.3),
/// attached under <paramref name="parent"/> exactly as <c>AddxUsdPrim_</c> or the stage
/// attached under <paramref name="parent"/> exactly as <c>AddUsdPrim_Placeholder</c> or the stage
/// attach idiom would attach a plain prim (<c>HasComponent</c> + a factory NodeId, so it
/// is browsable and uniquely identified identically). Returns <c>null</c> for an unknown
/// or untyped schema so the caller applies the §8.4 fallback — a concrete
Expand Down Expand Up @@ -621,7 +621,7 @@ private static void PopulatePrimNode(

// The instance factory leaves ReferenceTypeId = Null and seeds a type NodeId;
// Attach makes it a HasComponent child with a fresh factory NodeId, matching how
// AddxUsdPrim_ and MaterializeUsdStage attach every other node (§7.1).
// AddUsdPrim_Placeholder and MaterializeUsdStage attach every other node (§7.1).
Attach(context, parent, node, Opc.Ua.ReferenceTypeIds.HasComponent);
return node;
}
Expand Down
5 changes: 3 additions & 2 deletions src/Opc.Ua.Server/Fluent/FluentNodeManagerBase.cs
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,7 @@ protected FluentNodeManagerBase(
/// .Configure(Configure)
/// .Seal();
/// </code>
/// The three root/nodeId/typeId lookups default to scanning the
/// The root/nodeId/typeId/dataTypeId lookups default to scanning the
/// manager's <see cref="CustomNodeManager2.PredefinedNodes"/>
/// dictionary, mirroring the resolver wiring that the
/// source-generated <c>NodeManagerBase.CreateAddressSpaceAsync</c>
Expand All @@ -196,7 +196,8 @@ public NodeManagerBuilder CreateFluentBuilder(ushort defaultNamespaceIndex)
defaultNamespaceIndex,
browseName => PredefinedNodes.Values.FindByBrowseName(browseName)!,
nodeId => PredefinedNodes.FindById(nodeId)!,
PredefinedNodes.Values.FindByTypeDefinition);
PredefinedNodes.Values.FindByTypeDefinition,
PredefinedNodes.Values.FindByDataType);
AttachToBuilder(builder);
return builder;
}
Expand Down
59 changes: 57 additions & 2 deletions src/Opc.Ua.Server/Fluent/INodeManagerBuilder.cs
Original file line number Diff line number Diff line change
Expand Up @@ -154,8 +154,12 @@ INodeBuilder<TState> Node<TState>(NodeId nodeId)
/// <exception cref="ServiceResultException">
/// <list type="bullet">
/// <item><description><see cref="StatusCodes.BadNodeIdInvalid"/> — the id is null.</description></item>
/// <item><description><see cref="StatusCodes.BadNodeIdUnknown"/> — no instance carries that type definition.</description></item>
/// <item><description><see cref="StatusCodes.BadBrowseNameDuplicated"/> — more than one instance matches; supply a <see cref="QualifiedName"/> disambiguator via the <see cref="NodeFromTypeId(NodeId, QualifiedName)"/> overload.</description></item>
/// <item><description><see cref="StatusCodes.BadNodeIdUnknown"/> —
/// no instance carries that type definition.</description></item>
/// <item><description><see cref="StatusCodes.BadBrowseNameDuplicated"/> —
/// more than one instance matches; supply a <see cref="QualifiedName"/>
/// disambiguator via the <see cref="NodeFromTypeId(NodeId, QualifiedName)"/>
/// overload.</description></item>
/// </list>
/// </exception>
INodeBuilder NodeFromTypeId(NodeId typeDefinitionId);
Expand Down Expand Up @@ -247,5 +251,56 @@ INodeBuilder<TState> NodeFromTypeId<TState>(NodeId typeDefinitionId, QualifiedNa
/// CLR type carried by the variable's <c>Value</c> attribute.
/// </typeparam>
IVariableBuilder<TValue> VariableFromTypeId<TValue>(NodeId typeDefinitionId, QualifiedName browseName);

/// <summary>
/// Resolves the unique variable instance whose
/// <c>DataType</c> attribute equals <paramref name="dataTypeId"/>
/// and returns a typed <see cref="IVariableBuilder{TValue}"/>
/// view. Useful for singleton variables whose well-known DataType
/// is more stable than the deployment-specific browse path.
/// </summary>
/// <typeparam name="TValue">
/// CLR type carried by the variable's <c>Value</c> attribute.
/// </typeparam>
/// <param name="dataTypeId">
/// The DataType id of the variable to locate (typically a
/// generated <c>DataTypeIds.*</c> constant).
/// </param>
/// <exception cref="ServiceResultException">
/// <list type="bullet">
/// <item><description><see cref="StatusCodes.BadNodeIdInvalid"/> — the id is null.</description></item>
/// <item><description><see cref="StatusCodes.BadNodeIdUnknown"/> —
/// no variable carries that DataType.</description></item>
/// <item><description><see cref="StatusCodes.BadBrowseNameDuplicated"/> —
/// more than one variable matches; supply a <see cref="QualifiedName"/>
/// disambiguator via the
/// <see cref="VariableFromDataTypeId{TValue}(NodeId, QualifiedName)"/>
/// overload.</description></item>
/// <item><description><see cref="StatusCodes.BadTypeMismatch"/> —
/// the resolved variable's <c>Value</c> is not assignable to
/// <typeparamref name="TValue"/>.</description></item>
/// </list>
/// </exception>
IVariableBuilder<TValue> VariableFromDataTypeId<TValue>(NodeId dataTypeId);

/// <summary>
/// Like <see cref="VariableFromDataTypeId{TValue}(NodeId)"/> but
/// disambiguates among multiple instances by matching
/// <paramref name="browseName"/> against
/// <see cref="NodeState.BrowseName"/>.
/// </summary>
/// <typeparam name="TValue">
/// CLR type carried by the variable's <c>Value</c> attribute.
/// </typeparam>
/// <param name="dataTypeId">See <see cref="VariableFromDataTypeId{TValue}(NodeId)"/>.</param>
/// <param name="browseName">
/// Browse name of the instance to pick out.
/// </param>
/// <exception cref="ServiceResultException">
/// Same conditions as <see cref="VariableFromDataTypeId{TValue}(NodeId)"/>
/// plus <see cref="StatusCodes.BadNodeIdUnknown"/> when the
/// disambiguator matches no candidate.
/// </exception>
IVariableBuilder<TValue> VariableFromDataTypeId<TValue>(NodeId dataTypeId, QualifiedName browseName);
}
}
95 changes: 94 additions & 1 deletion src/Opc.Ua.Server/Fluent/NodeManagerBuilder.cs
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,13 @@ public sealed class NodeManagerBuilder : INodeManagerBuilder, IFluentDispatcher
/// <c>TypeDefinitionId</c> matches the supplied <see cref="NodeId"/>.
/// Typically a generated walk over the manager's predefined nodes.
/// </param>
/// <param name="dataTypeIdResolver">
/// Delegate that returns every <see cref="BaseVariableState"/> whose
/// <c>DataType</c> matches the supplied <see cref="NodeId"/>.
/// Typically a generated walk over the manager's predefined nodes.
/// When <c>null</c>, DataType lookups always resolve to no
/// candidates (as if no variable declared that DataType).
/// </param>
/// <exception cref="ArgumentNullException">
/// <paramref name="context"/>, <paramref name="nodeManager"/>,
/// <paramref name="rootResolver"/>, <paramref name="nodeIdResolver"/>,
Expand All @@ -95,14 +102,16 @@ public NodeManagerBuilder(
ushort defaultNamespaceIndex,
Func<QualifiedName, NodeState> rootResolver,
Func<NodeId, NodeState> nodeIdResolver,
Func<NodeId, IReadOnlyList<NodeState>> typeIdResolver)
Func<NodeId, IReadOnlyList<NodeState>> typeIdResolver,
Func<NodeId, ArrayOf<NodeState>>? dataTypeIdResolver = null)
{
Context = context ?? throw new ArgumentNullException(nameof(context));
NodeManager = nodeManager ?? throw new ArgumentNullException(nameof(nodeManager));
m_defaultNamespaceIndex = defaultNamespaceIndex;
m_rootResolver = rootResolver ?? throw new ArgumentNullException(nameof(rootResolver));
m_nodeIdResolver = nodeIdResolver ?? throw new ArgumentNullException(nameof(nodeIdResolver));
m_typeIdResolver = typeIdResolver ?? throw new ArgumentNullException(nameof(typeIdResolver));
m_dataTypeIdResolver = dataTypeIdResolver ?? (static _ => []);
}

/// <inheritdoc/>
Expand Down Expand Up @@ -284,6 +293,27 @@ public IVariableBuilder<TValue> VariableFromTypeId<TValue>(NodeId typeDefinition
browseName));
}

/// <inheritdoc/>
public IVariableBuilder<TValue> VariableFromDataTypeId<TValue>(NodeId dataTypeId)
{
ThrowIfSealed();
NodeState node = ResolveByDataType(dataTypeId, (QualifiedName)null!);
return ToVariableBuilder<TValue>(node, FormatNodeId(dataTypeId));
}

/// <inheritdoc/>
public IVariableBuilder<TValue> VariableFromDataTypeId<TValue>(NodeId dataTypeId, QualifiedName browseName)
{
ThrowIfSealed();
NodeState node = ResolveByDataType(dataTypeId, browseName);
return ToVariableBuilder<TValue>(
node,
CoreUtils.Format(
"{0} (browse name '{1}')",
FormatNodeId(dataTypeId),
browseName));
}

internal VariableBuilder<TValue> ToVariableBuilder<TValue>(NodeState node, string lookupHint)
{
if (node is not BaseVariableState variable)
Expand Down Expand Up @@ -590,6 +620,68 @@ private NodeState ResolveByTypeDefinition(NodeId typeDefinitionId, QualifiedName
return match;
}

private NodeState ResolveByDataType(NodeId dataTypeId, QualifiedName browseName)
{
if (dataTypeId.IsNull)
{
throw ServiceResultException.Create(
StatusCodes.BadNodeIdInvalid,
"DataTypeId is null or empty.");
}

ArrayOf<NodeState> candidates = m_dataTypeIdResolver(dataTypeId);

if (candidates.Count == 0)
{
throw ServiceResultException.Create(
StatusCodes.BadNodeIdUnknown,
"No predefined variable has DataType '{0}'.",
dataTypeId);
}

if (browseName.IsNull)
{
if (candidates.Count > 1)
{
throw ServiceResultException.Create(
StatusCodes.BadBrowseNameDuplicated,
"DataType '{0}' is ambiguous: {1} matching variables found. " +
"Pass a QualifiedName disambiguator to VariableFromDataTypeId.",
dataTypeId,
candidates.Count);
}
return candidates[0];
}

NodeState? match = null;
for (int i = 0; i < candidates.Count; i++)
{
if (candidates[i].BrowseName == browseName)
{
if (match != null)
{
throw ServiceResultException.Create(
StatusCodes.BadBrowseNameDuplicated,
"DataType '{0}' has multiple variables with browse name '{1}'.",
dataTypeId,
browseName);
}
match = candidates[i];
}
}

if (match == null)
{
throw ServiceResultException.Create(
StatusCodes.BadNodeIdUnknown,
"DataType '{0}' has no variable with browse name '{1}'.",
dataTypeId,
browseName);
}

return match;
}

private void ThrowIfSealed()
{
if (m_sealed)
Expand Down Expand Up @@ -621,6 +713,7 @@ private static void ThrowIfDuplicate<T>(
private readonly Func<QualifiedName, NodeState> m_rootResolver;
private readonly Func<NodeId, NodeState> m_nodeIdResolver;
private readonly Func<NodeId, IReadOnlyList<NodeState>> m_typeIdResolver;
private readonly Func<NodeId, ArrayOf<NodeState>> m_dataTypeIdResolver;
private bool m_sealed;
private readonly Dictionary<NodeId, HistoryReadHandler> m_historyRead = [];
private readonly Dictionary<NodeId, HistoryUpdateHandler> m_historyUpdate = [];
Expand Down
42 changes: 40 additions & 2 deletions src/Opc.Ua.Server/NodeManager/NodeStateLookupExtensions.cs
Original file line number Diff line number Diff line change
Expand Up @@ -34,11 +34,12 @@ namespace Opc.Ua.Server.NodeManager
{
/// <summary>
/// Linear-scan + dictionary lookups over a node-manager's predefined
/// node collection. Surfaces the three patterns that node-manager
/// node collection. Surfaces the patterns that node-manager
/// subclasses repeatedly hand-roll against
/// <c>CustomNodeManager.PredefinedNodes</c> /
/// <c>AsyncCustomNodeManager.PredefinedNodes</c>:
/// browse-name root lookup, NodeId lookup, and TypeDefinitionId scan.
/// browse-name root lookup, NodeId lookup, TypeDefinitionId scan, and
/// DataType scan.
/// </summary>
public static class NodeStateLookupExtensions
{
Expand Down Expand Up @@ -135,5 +136,42 @@ public static List<NodeState> FindByTypeDefinition(
}
return results;
}

/// <summary>
/// Returns every <see cref="BaseVariableState"/> in
/// <paramref name="nodes"/> whose
/// <see cref="BaseVariableState.DataType"/> equals
/// <paramref name="dataTypeId"/>. The list is empty when no match
/// exists; non-variable nodes are skipped.
/// </summary>
/// <param name="nodes">
/// The set to scan, typically <c>PredefinedNodes.Values</c>.
/// </param>
/// <param name="dataTypeId">
/// DataType NodeId to match (e.g. a known <c>DataTypeIds</c>
/// constant).
/// </param>
/// <exception cref="ArgumentNullException">
/// <paramref name="nodes"/> is <see langword="null"/>.
/// </exception>
public static ArrayOf<NodeState> FindByDataType(
this IEnumerable<NodeState> nodes,
NodeId dataTypeId)
{
if (nodes == null)
{
throw new ArgumentNullException(nameof(nodes));
}
var results = new List<NodeState>();
foreach (NodeState node in nodes)
{
if (node is BaseVariableState variable &&
variable.DataType == dataTypeId)
{
results.Add(node);
}
}
return new ArrayOf<NodeState>(results.ToArray());
}
}
}
Loading
Loading