Search Results for

    Show / Hide Table of Contents

    Interface ICloneable

    Indicates this class supports cloning an entire copy of itself

    Namespace: LemonEdge.Utils.Interfaces
    Assembly: Utils.dll
    Syntax
    public interface ICloneable

    Methods

    Clone()

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

    Declaration
    object Clone()
    Returns
    Type Description
    System.Object

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

    CopyFromSource(Object)

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

    The source object should be of the same type as this one

    Declaration
    void CopyFromSource(object source)
    Parameters
    Type Name Description
    System.Object source

    The source object to copy all values from. Should be of the same type as this one.

    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<T>
    ICloneableAsync
    ICloneableAsync<T>
    IgnoreOnCloneAttribute
    In This Article
    Back to top © LemonTree Software Ltd. All rights reserved.