Interface IEmulatedPortsManager
Helper service to retrieve an IEmulatedController from the IEmulatedPortDeviceEntry of a given IEmulatorOrchestrator.
Namespace: Snowflake.Orchestration.Extensibility
Assembly: Snowflake.Framework.Primitives.dll
Syntax
public interface IEmulatedPortsManager
Methods
GetControllerAtPort(IEmulatorOrchestrator, PlatformId, Int32)
Retrieves an IEmulatedController instance for the given IEmulatorOrchestrator, platform, and port index, if connected. Returns null otherwise.
Declaration
IEmulatedController GetControllerAtPort(IEmulatorOrchestrator orchestrator, PlatformId platform, int portIndex)
Parameters
| Type | Name | Description |
|---|---|---|
| IEmulatorOrchestrator | orchestrator | The IEmulatorOrchestrator to build a IEmulatedController for. |
| PlatformId | platform | The PlatformId of the platform to retrieve |
| System.Int32 | portIndex | The port index |
Returns
| Type | Description |
|---|---|
| IEmulatedController | The IEmulatedController for the given port index, if the IEmulatedPortDeviceEntry is connected. |