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