Table of Contents

Method Clone

Namespace
LMKit.Data
Assembly
LM-Kit.NET.dll

Clone()

Creates a deep clone of this DataSource instance.
A deep clone involves creating a new instance of the class with all of the original object's data copied over, including a recursive copy of all complex properties, thus ensuring no references to the mutable objects of the original instance are shared.

public DataSource Clone()

Returns

DataSource

Returns a new DataSource instance that is a deep clone of the current instance, thereby preventing any modifications to the clone from affecting the original object.