Constructor DomCache
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
DomHelperThe 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
stringThe 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");