Show / Hide Table of Contents

Class IDeviceExtensions

Extension methods for Phoenix.Devices.IDevice.

Inheritance
object
IDeviceExtensions
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Phoenix.BotBrain.Extensions
Assembly: Phoenix.Plugin.BotBrain.Shared.dll
Syntax
public static class IDeviceExtensions

Methods

View Source

ToDeviceConsole(IDevice)

Converts a Phoenix device to its underlying DeviceConsole object.

Declaration
public static IDevice? ToDeviceConsole(this IDevice self)
Parameters
Type Name Description
IDevice self

The Phoenix device.

Returns
Type Description
IDevice

A DeviceConsole object, if one exists.

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