C# 클래스 CyrusBuilt.MonoPi.Devices.DeviceBase

Base class for device abstractions.
상속: IDevice
파일 보기 프로젝트 열기: cyrusbuilt/MonoPi

공개 메소드들

메소드 설명
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