Search Results for

    Show / Hide Table of Contents

    Interface ICloneable<T>

    Indicates this class supports cloning an entire copy of itself typed to the correct type

    Namespace: LemonEdge.Utils.Interfaces
    Assembly: Utils.dll
    Syntax
    public interface ICloneable<T>
        where T : ICloneable
    Type Parameters
    Name Description
    T

    The type of item that supports cloning

    Methods

    Clone()

    Creates a new instance of this class (of type T) with all the same property values as this instance

    Declaration
    T Clone()
    Returns
    Type Description
    T

    A new instance of this class with all the same property values as this instance

    CopyFromSource(T)

    Updates all properties in this item to have the same properties as the source object.

    Declaration
    void CopyFromSource(T source)
    Parameters
    Type Name Description
    T source

    The source object to copy all values from.

    Extension Methods

    MiscExtensions.SetIfNotEqual<T, P>(T, Expression<Func<T, P>>, P)
    ReflectionExtensions.ClearEventInvocations(Object, String)
    StringExtensions.ToCSVFormatString(Object, Type)
    SQLExtensions.ToSQLValue(Object, Boolean)

    See Also

    ICloneable
    ICloneableAsync
    ICloneableAsync<T>
    IgnoreOnCloneAttribute
    In This Article
    Back to top © LemonTree Software Ltd. All rights reserved.