Show / Hide Table of Contents

Class DeviceConsoleFactory

A default implementation of IDeviceProvider which creates new DeviceConsole devices using a colon-prefixed device type name.

Inheritance
object
DeviceConsoleFactory
Implements
IDeviceProvider
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Microsoft.XboxStudios.BotBrain.Devices
Assembly: BotBrain.DeviceConsoleFactory.dll
Syntax
public class DeviceConsoleFactory : IDeviceProvider

Methods

View Source

FromNameAsync(string)

Gets a device with the given name.

Declaration
public Task<IDevice?> FromNameAsync(string name)
Parameters
Type Name Description
string name

The device name.

Returns
Type Description
Task<IDevice>

The device, if it exists.

Implements

IDeviceProvider
  • View Source
In this article
Back to top Generated by DocFX