Table of Contents

Class SlProtocolExtensions

Namespace
Skyline.DataMiner.Core.DataMinerSystem.Protocol
Assembly
Skyline.DataMiner.Core.DataMinerSystem.Protocol.dll

Defines extension methods on the SLProtocol class.

public static class SlProtocolExtensions
Inheritance
SlProtocolExtensions

Fields

OverrideGetDms

Allows an override of the behavior of GetDms to return a Fake or Mock of IDms. Important: When this is used, unit tests should never be run in parallel.

OverrideGetLocalElement

Allows an override of the behavior of GetLocalElement to return a Fake or Mock of IDms. Important: When this is used, unit tests should never be run in parallel.

Methods

GetDms(SLProtocol)

Gets an object implementing the IDms interface using an instance of the SLProtocol class.

GetLocalElement(SLProtocol)

Gets an object implementing the ILocalElement interface using an instance of the SLProtocol class.