Click or drag to resize

ModuleEmulatorFindOrInstall Method

Finds or installs a ModuleEmulator.

Namespace:  Demo3D.PLC.Rockwell.Emulator
Assembly:  PLC (in PLC.dll) Version: 15.0.2.11458
Syntax
C#
public static ModuleEmulatorFactory? FindOrInstall(
	Type moduleEmulatorType,
	Object? additionalKey,
	Func<ModuleEmulatorFactoryKey, ModuleEmulatorFactory?>? createEmulator
)

Parameters

moduleEmulatorType
Type: SystemType
The user module emualtor type.
additionalKey
Type: SystemObject
Optional additional factory database key.
createEmulator
Type: SystemFuncModuleEmulatorFactoryKey, ModuleEmulatorFactory
A function to create an emulator.

Return Value

Type: ModuleEmulatorFactory
The module emulator factory.
Remarks
Dispose to uninstall.
See Also