Click or drag to resize

ConnectionIRegistryAdd Method

Adds a ProtocolHead to the repository for the address ProtocolHead.CononicalAddress.

Namespace:  Demo3D.Net
Assembly:  Demo3D.IO (in Demo3D.IO.dll) Version: 15.0.2.11458
Syntax
C#
ProtocolHead 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: ProtocolHead
The protocol head.
See Also