Click or drag to resize

ICIPNodeGetOrAddServices Method

Get or add a CIP services provider.

Namespace: Demo3D.PLC.Comms.CIP.Nodes
Assembly: PLC (in PLC.dll) Version: 19.00.00
Syntax
C#
CIPServices? GetOrAddServices(
	Type servicesType,
	Func<Type, CIPServices> servicesFactory
)

Parameters

servicesType  Type
The services provider type. Only one of any specific type can be registered at a time.
servicesFactory  FuncType, CIPServices
A function for creating the services provider.

Return Value

CIPServices
The existing services provider or the newly created services provider.
See Also