Table of Contents

Constructor DomCache

Namespace
Skyline.DataMiner.Utils.DOM
Assembly
Skyline.DataMiner.Utils.DOM.dll

DomCache(DomHelper)

Initializes a new instance of the DomCache class with a specified Skyline.DataMiner.Net.Apps.DataMinerObjectModel.DomHelper.

public DomCache(DomHelper helper)

Parameters

helper DomHelper

The Skyline.DataMiner.Net.Apps.DataMinerObjectModel.DomHelper used for interaction with the DOM.

DomCache(Func<DMSMessage[], DMSMessage[]>, string)

Initializes a new instance of the DomCache.

public DomCache(Func<DMSMessage[], DMSMessage[]> messageHandler, string moduleId)

Parameters

messageHandler Func<DMSMessage[], DMSMessage[]>

The message handler for processing messages.

moduleId string

The module ID associated with the DOM cache.

Remarks

Examples:

  • automation script:
    var domCache = new DomCache(engine.SendSLNetMessages, "module");
  • connector:
    var domCache = new DomCache(protocol.SLNet.SendMessages, "module");