Show / Hide Table of Contents

Interface IDeviceProvider

An interface used to provide device implementations with composition.

Namespace: Microsoft.XboxStudios.BotBrain.Devices
Assembly: BotBrain.Devices.dll
Syntax
public interface IDeviceProvider

Methods

View Source

FromNameAsync(string)

Gets a device with the given name.

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

The device name.

Returns
Type Description
Task<IDevice>

The device, if it exists.

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