ICIPNodeGetOrAddServices Method |
Get or add a CIP services provider.
Namespace:
Demo3D.PLC.Comms.CIP.Nodes
Assembly:
PLC (in PLC.dll) Version: 15.0.2.11458
SyntaxCIPServices? GetOrAddServices(
Type servicesType,
Func<Type, CIPServices> servicesFactory
)
Parameters
- servicesType
- Type: SystemType
The services provider type. Only one of any specific type can be registered at a time. - servicesFactory
- Type: SystemFuncType, CIPServices
A function for creating the services provider.
Return Value
Type:
CIPServicesThe existing services provider or the newly created services provider.
See Also