CyrusBuilt.MonoPi.Sensors.DS1620.Dispose C# (CSharp) Method

Dispose() public method

Releases all resource used by the CyrusBuilt.MonoPi.Sensors.DS1620 object.
Call Dispose when you are finished using the CyrusBuilt.MonoPi.Sensors.DS1620. The Dispose method leaves the CyrusBuilt.MonoPi.Sensors.DS1620 in an unusable state. After calling Dispose, you must release all references to the CyrusBuilt.MonoPi.Sensors.DS1620 so the garbage collector can reclaim the memory that the CyrusBuilt.MonoPi.Sensors.DS1620 was occupying.
public Dispose ( ) : void
return void
		public void Dispose() {
			if (this._isDisposed) {
				return;
			}

			if (this._clock != null) {
				this._clock.Dispose();
				this._clock = null;
			}

			if (this._data != null) {
				this._data.Dispose();
				this._data = null;
			}

			if (this._reset != null) {
				this._reset.Dispose();
				this._reset = null;
			}
			this._isDisposed = true;
		}
		#endregion