View Source
Class DeepCloneHelper
Inheritance
System.Object
Assembly: Umbraco.Core.dll
Syntax
public static class DeepCloneHelper
Methods
View Source
CloneListItems<TList, TEntity>(TList, TList)
Declaration
public static void CloneListItems<TList, TEntity>(TList source, TList target)
where TList : ICollection<TEntity>
Parameters
Type |
Name |
Description |
TList |
source |
|
TList |
target |
|
Type Parameters
Name |
Description |
TList |
|
TEntity |
|
View Source
DeepCloneRefProperties(IDeepCloneable, IDeepCloneable)
Used to deep clone any reference properties on the object (should be done after a MemberwiseClone for which the
outcome is 'output')
Declaration
public static void DeepCloneRefProperties(IDeepCloneable input, IDeepCloneable output)
Parameters