C# Класс CyrusBuilt.MonoPi.Devices.DeviceBase

Base class for device abstractions.
Наследование: IDevice
Показать файл Открыть проект

Открытые методы

Метод Описание
Dispose ( ) : void

Releases all resource used by the CyrusBuilt.MonoPi.Devices.DeviceBase object.

Call Dispose when you are finished using the CyrusBuilt.MonoPi.Devices.DeviceBase. The Dispose method leaves the CyrusBuilt.MonoPi.Devices.DeviceBase in an unusable state. After calling Dispose, you must release all references to the CyrusBuilt.MonoPi.Devices.DeviceBase so the garbage collector can reclaim the memory that the CyrusBuilt.MonoPi.Devices.DeviceBase was occupying.

HasProperty ( String key ) : System.Boolean

Determines whether this instance has property the specified key.

ToString ( ) : String

Returns a System.String that represents the current CyrusBuilt.MonoPi.Devices.DeviceBase.

Защищенные методы

Метод Описание
DeviceBase ( ) : System

Initializes a new instance of the CyrusBuilt.MonoPi.Devices.DeviceBase class. This is the default constructor.

Dispose ( System.Boolean disposing ) : void

Releaseses all resources used this object.

Описание методов

DeviceBase() защищенный Метод

Initializes a new instance of the CyrusBuilt.MonoPi.Devices.DeviceBase class. This is the default constructor.
protected DeviceBase ( ) : System
Результат System

Dispose() публичный Метод

Releases all resource used by the CyrusBuilt.MonoPi.Devices.DeviceBase object.
Call Dispose when you are finished using the CyrusBuilt.MonoPi.Devices.DeviceBase. The Dispose method leaves the CyrusBuilt.MonoPi.Devices.DeviceBase in an unusable state. After calling Dispose, you must release all references to the CyrusBuilt.MonoPi.Devices.DeviceBase so the garbage collector can reclaim the memory that the CyrusBuilt.MonoPi.Devices.DeviceBase was occupying.
public Dispose ( ) : void
Результат void

Dispose() защищенный Метод

Releaseses all resources used this object.
protected Dispose ( System.Boolean disposing ) : void
disposing System.Boolean /// Set true if disposing managed resources in addition to unmanaged. ///
Результат void

HasProperty() публичный Метод

Determines whether this instance has property the specified key.
public HasProperty ( String key ) : System.Boolean
key String /// The key name of the property to check for. ///
Результат System.Boolean

ToString() публичный Метод

Returns a System.String that represents the current CyrusBuilt.MonoPi.Devices.DeviceBase.
public ToString ( ) : String
Результат String