ProtocolIRegistryGet Method |
Finds a protocol by name and services. Throws ArgumentException if not found.
Namespace:
Demo3D.Net
Assembly:
Demo3D.IO (in Demo3D.IO.dll) Version: 18.04.00
SyntaxProtocol Get(
string name,
IEnumerable<Type> services
)
Parameters
- name
- Type: SystemString
Name of protocol to find. - services
- Type: System.Collections.GenericIEnumerableType
Services that protocol must provide.
Return Value
Type:
ProtocolThe first matching protocol.
See Also