ICopyableT 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: 3.1.7447.0+85f9b473a1dd11b8f3e5c9a182fd1901975e46f9

Syntax

C#

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

Type Parameters

T

The type that is copyable.

The ICopyableT type exposes the following members.

Methods

 

Name

Description

ICopyableT Interface 1:

DeepCopy

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

ICopyableT Interface 2:

ShallowCopy

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

Version Information

Supported in: 3.1.7447.0, 2.3.7447.0, 1.10.7447.0

Reference

TcHmiSrv.Core.Duplication Namespace

Copyright © Beckhoff Automation GmbH & Co. KG