Search Results for

    Show / Hide Table of Contents
    View Source

    Class DeepCloneHelper

    Inheritance
    System.Object
    Namespace: Umbraco.Cms.Core.Models
    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
    Type Name Description
    IDeepCloneable input
    IDeepCloneable output
    • Improve this Doc
    • View Source
    In This Article
    • Methods
      • CloneListItems<TList, TEntity>(TList, TList)
      • DeepCloneRefProperties(IDeepCloneable, IDeepCloneable)
    Back to top Copyright © 2016-present Umbraco
    Generated by DocFX