Table of Contents

Method Create

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

Create()

Creates a new instance of DomCacheMock.

public static DomCacheMock Create()

Returns

DomCacheMock

A new instance of DomCacheMock.

Create(IEnumerable<DomInstance>)

Creates a new instance of DomCacheMock with pre-defined instances.

public static DomCacheMock Create(IEnumerable<DomInstance> instances)

Parameters

instances IEnumerable<DomInstance>

The pre-defined collection of DOM instances.

Returns

DomCacheMock

A new instance of DomCacheMock with pre-defined instances.