Show / Hide Table of Contents

Class XboxFactory

Factory for creating xbox devices.

Inheritance
System.Object
DeviceFactoryBase
XboxFactory
Implements
IDeviceFactory
Inherited Members
DeviceFactoryBase.DeviceTypeName
DeviceFactoryBase.DeviceTypeAliases
DeviceFactoryBase.DeviceTypeDisplayName
DeviceFactoryBase.IconUri
DeviceFactoryBase.Events
DeviceFactoryBase.Logger
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Phoenix.Devices
Assembly: Phoenix.Devices.Xbox.dll
Syntax
public sealed class XboxFactory : DeviceFactoryBase, IDeviceFactory

Constructors

View Source

XboxFactory(IPhoenixLogger, IEventAggregator)

Initializes a new instance of the XboxFactory class.

Declaration
public XboxFactory(IPhoenixLogger logger, IEventAggregator events)
Parameters
Type Name Description
IPhoenixLogger logger

The current logger.

IEventAggregator events

The event aggregate service.

Fields

View Source

FactoryDeviceDisplayName

The device type display name for this factory.

Declaration
public const string FactoryDeviceDisplayName = "Xbox"
Field Value
Type Description
System.String
View Source

FactoryDeviceName

The device type name for this factory.

Declaration
public const string FactoryDeviceName = "Xbox"
Field Value
Type Description
System.String

Methods

View Source

CreateDeviceInstance(IPAddress, String, String, String, String, String, Guid)

Creates an instance of a xbox device.

Declaration
public override IDevice CreateDeviceInstance(IPAddress address, string name, string alias, string configType, string configuration, string deviceId, Guid phoenixId)
Parameters
Type Name Description
System.Net.IPAddress address

The IP of the device.

System.String name

The name of the device if known.

System.String alias

The alias of the device if known.

System.String configType

Device specific configuration type string.

System.String configuration

Device specific configuration string.

System.String deviceId

The expected device id that will be matched to the id the device provides.

System.Guid phoenixId

The Device id.

Returns
Type Description
IDevice

A xbox device.

Overrides
DeviceFactoryBase.CreateDeviceInstance(IPAddress, String, String, String, String, String, Guid)

Implements

IDeviceFactory
  • View Source
In This Article
Back to top Generated by DocFX