Lucon SDK 1.0.7
Loading...
Searching...
No Matches
Gefasoft.LuconV2.Infrastructure.InteropObject Class Reference

Wraps abstractions which are represented by a LuconHandle within the Lucon C-API. It provides resource-management by implementing the IDisposable pattern. More...

Inheritance diagram for Gefasoft.LuconV2.Infrastructure.InteropObject:
Gefasoft.LuconV2.Channel Gefasoft.LuconV2.Device Gefasoft.LuconV2.DeviceConnection Gefasoft.LuconV2.FakeDeviceConnection Gefasoft.LuconV2.Rs232DeviceConnection Gefasoft.LuconV2.UdpDeviceConnection

Public Member Functions

void Dispose ()
 Dispose the object and free all related resources.

Protected Member Functions

virtual void Dispose (bool disposing)
 implements the standard pattern for IDisposable

Detailed Description

Wraps abstractions which are represented by a LuconHandle within the Lucon C-API. It provides resource-management by implementing the IDisposable pattern.

Member Function Documentation

◆ Dispose() [1/2]

void Gefasoft.LuconV2.Infrastructure.InteropObject.Dispose ( )

Dispose the object and free all related resources.

The object may no longer be used after calling Dispose

◆ Dispose() [2/2]

virtual void Gefasoft.LuconV2.Infrastructure.InteropObject.Dispose ( bool disposing)
protectedvirtual

implements the standard pattern for IDisposable

Parameters
disposingtrue if disposing due to user call, false in case of finalizer

Reimplemented in Gefasoft.LuconV2.Device, and Gefasoft.LuconV2.DeviceConnection.


The documentation for this class was generated from the following file: