Class WindowsPCPhoenixModule
Contains windows pc specific functionality for Phoenix.
Inheritance
System.Object
WindowsPCPhoenixModule
Namespace: Phoenix.Devices
Assembly: Phoenix.Devices.WindowsPC.dll
Syntax
public class WindowsPCPhoenixModule : IHostedService
Constructors
View SourceWindowsPCPhoenixModule(IDeviceCommandManager, IPhoenixLogger)
Initializes a new instance of the WindowsPCPhoenixModule class.
Declaration
public WindowsPCPhoenixModule(IDeviceCommandManager commandManager, IPhoenixLogger logger)
Parameters
Type | Name | Description |
---|---|---|
IDeviceCommandManager | commandManager | The command manager. |
IPhoenixLogger | logger | The logging manager. |
Methods
View SourceStartAsync(CancellationToken)
Declaration
public Task StartAsync(CancellationToken cancellationToken)
Parameters
Type | Name | Description |
---|---|---|
System.Threading.CancellationToken | cancellationToken |
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task |
StopAsync(CancellationToken)
Declaration
public Task StopAsync(CancellationToken cancellationToken)
Parameters
Type | Name | Description |
---|---|---|
System.Threading.CancellationToken | cancellationToken |
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task |