Show / Hide Table of Contents

    Class CopyingExtensions

    Inheritance
    Object
    CopyingExtensions
    Inherited Members
    Object.Equals(Object)
    Object.Equals(Object, Object)
    Object.GetHashCode()
    Object.GetType()
    Object.MemberwiseClone()
    Object.ReferenceEquals(Object, Object)
    Object.ToString()
    Namespace: P42.Utils
    Assembly: P42.Utils.dll
    Syntax
    public static class CopyingExtensions

    Methods

    | Improve this Doc View Source

    Copy<T>(T)

    Declaration
    public static T Copy<T>(this T source)
        where T : ICopiable<T>
    Parameters
    Type Name Description
    T source
    Returns
    Type Description
    T
    Type Parameters
    Name Description
    T
    | Improve this Doc View Source

    DeepReferenceCopy<T>(List<T>)

    Declaration
    public static List<T> DeepReferenceCopy<T>(this List<T> source)
        where T : ICopiable<T>, new()
    Parameters
    Type Name Description
    List<T> source
    Returns
    Type Description
    List<T>
    Type Parameters
    Name Description
    T
    | Improve this Doc View Source

    DeepValueCopy<T>(List<T>)

    Declaration
    public static List<T> DeepValueCopy<T>(this List<T> source)
    Parameters
    Type Name Description
    List<T> source
    Returns
    Type Description
    List<T>
    Type Parameters
    Name Description
    T
    • Improve this Doc
    • View Source
    Back to top Copyright © 2018 42nd Parallel