ConnectionIRegistryAdd Method |
Adds a ProtocolHead to the repository for the address ProtocolHead.CononicalAddress.
Namespace:
Demo3D.Net
Assembly:
Demo3D.IO (in Demo3D.IO.dll) Version: 14.0.0.10531
SyntaxProtocolHead Add(
ProtocolHead head,
Func<IReadOnlyList<ProtocolHead>, ProtocolHead>? chooseHead = null
)
Parameters
- head
- Type: Demo3D.NetProtocolHead
The ProtocolHead to add. - chooseHead (Optional)
- Type: SystemFuncIReadOnlyListProtocolHead, ProtocolHead
A function to decide whether to use a current head or add the new head.
Return Value
Type:
ProtocolHeadThe protocol head.
See Also