Class XboxPhoenixModule
Contains xbox specific functionality for Phoenix.
Inheritance
System.Object
XboxPhoenixModule
Namespace: Phoenix.Devices
Assembly: Phoenix.Devices.Xbox.dll
Syntax
public class XboxPhoenixModule : IHostedService
Constructors
View SourceXboxPhoenixModule(IDeviceCommandManager, IPhoenixLogger)
Initializes a new instance of the XboxPhoenixModule class.
Declaration
public XboxPhoenixModule(IDeviceCommandManager commandManager, IPhoenixLogger logger)
Parameters
Type | Name | Description |
---|---|---|
IDeviceCommandManager | commandManager | The ICommandManager to register commands with. |
IPhoenixLogger | logger | The logger. |
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 |