Show / Hide Table of Contents

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 Source

XboxPhoenixModule(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 Source

StartAsync(CancellationToken)

Declaration
public Task StartAsync(CancellationToken cancellationToken)
Parameters
Type Name Description
System.Threading.CancellationToken cancellationToken
Returns
Type Description
System.Threading.Tasks.Task
View Source

StopAsync(CancellationToken)

Declaration
public Task StopAsync(CancellationToken cancellationToken)
Parameters
Type Name Description
System.Threading.CancellationToken cancellationToken
Returns
Type Description
System.Threading.Tasks.Task
  • View Source
In This Article
Back to top Generated by DocFX