Class DeviceConsoleFactory
A default implementation of IDeviceProvider which creates new DeviceConsole devices using a colon-prefixed device type name.
Implements
Inherited Members
Namespace: Microsoft.XboxStudios.BotBrain.Devices
Assembly: BotBrain.DeviceConsoleFactory.dll
Syntax
public class DeviceConsoleFactory : IDeviceProviderMethods
View SourceFromNameAsync(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. |