Class PhoenixDeviceProvider
An implementation of IDeviceProvider which shares DeviceConsole devices with Phoenix.
Implements
Inherited Members
Namespace: Phoenix.BotBrain
Assembly: Phoenix.Plugin.BotBrain.Shared.dll
Syntax
public class PhoenixDeviceProvider : IDeviceProvider
Methods
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. |