Class FakeDeviceProvider
Implements
Inherited Members
Namespace: Microsoft.XboxStudios.BotBrain.Overmind.Tests
Assembly: BotBrain.Overmind.Tests.dll
Syntax
public class FakeDeviceProvider : 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. |