Method GetLocalElement
- Namespace
- Skyline.DataMiner.Core.DataMinerSystem.Protocol
- Assembly
- Skyline.DataMiner.Core.DataMinerSystem.Protocol.dll
GetLocalElement(SLProtocol)
Gets an object implementing the ILocalElement interface using an instance of the SLProtocol class.
public static ILocalElement GetLocalElement(this SLProtocol protocol)
Parameters
protocol
SLProtocolThe SLProtocol instance.
Returns
- ILocalElement
Object implementing the ILocalElement interface.
Exceptions
- ArgumentNullException
protocol
is null.