ICIPNodeGetOrAddServices Method |
Get or add a CIP services provider.
Namespace: Demo3D.PLC.Comms.CIP.NodesAssembly: PLC (in PLC.dll) Version: 19.00.00
SyntaxCIPServices? 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
CIPServicesThe existing services provider or the newly created services provider.
See Also