Interface IEmulatorExecutableProvider
Provides access to loaded IEmulatorExecutable instances.
Namespace: Snowflake.Orchestration.Process
Assembly: Snowflake.Framework.Primitives.dll
Syntax
public interface IEmulatorExecutableProvider
Methods
GetEmulator(String)
Gets any emulator with a matching name.
Declaration
IEmulatorExecutable GetEmulator(string name)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | name | The name of the emulator. |
Returns
| Type | Description |
|---|---|
| IEmulatorExecutable | An IEmulatorExecutable that can start the given emulator. |
GetEmulator(String, Version)
Gets an emulator with the matching name and closest major version.
Declaration
IEmulatorExecutable GetEmulator(string name, Version semver)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | name | The name of the emulator. |
| System.Version | semver | The requested version of the emulator. |
Returns
| Type | Description |
|---|---|
| IEmulatorExecutable | An IEmulatorExecutable that is guaranteed to have at least the same major version as the requested version, or null if no IEmulatorExecutable are loaded with the requested name and version. |