Table of Contents

Method DeepClone

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

DeepClone(DomInstance)

Creates a deep clone of the specified Skyline.DataMiner.Net.Apps.DataMinerObjectModel.DomInstance, including audit tracking properties.

public static DomInstance DeepClone(this DomInstance instance)

Parameters

instance DomInstance

The Skyline.DataMiner.Net.Apps.DataMinerObjectModel.DomInstance to clone.

Returns

DomInstance

A deep clone of the Skyline.DataMiner.Net.Apps.DataMinerObjectModel.DomInstance, with Skyline.DataMiner.Net.ManagerStore.ITrackCreatedAt.CreatedAt, Skyline.DataMiner.Net.ManagerStore.ITrackCreatedBy.CreatedBy, LastModified, and Skyline.DataMiner.Net.ManagerStore.ITrackLastModifiedBy.LastModifiedBy properties copied from the original instance.

Remarks

The returned clone is a new instance with the same data and audit tracking information as the original.