ICopyable.T. Interface

Supports deep and shallow copying, which creates a new instance of a class with the same value as an existing instance.

Namespace:  TcHmiSrv.Core.Duplication
Assembly:  TcHmiSrvExtNet.Core (in TcHmiSrvExtNet.Core.dll) Version: 1.3.0.0

Syntax

C#

public interface ICopyable<out T> : IDeepCopyable<T>, 
    IShallowCopyable<T>

Type Parameters

T

The type that is copyable.

The ICopyable.T. type exposes the following members.

Methods

 

Name

Description

ICopyable.T. Interface 1:

DeepCopy

Creates a new object that is a deep copy of the current instance. (Inherited from IDeepCopyable.T..)

ICopyable.T. Interface 2:

ShallowCopy

Creates a new object that is a shallow copy of the current instance. (Inherited from IShallowCopyable.T..)

Reference

TcHmiSrv.Core.Duplication Namespace