CloneSet1475


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
6220.968class_member_declaration
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
1669
src/NHibernate/Type/AbstractType.cs
2687
src/NHibernate/Type/AbstractType.cs
Clone Instance
1
Line Count
6
Source Line
69
Source File
src/NHibernate/Type/AbstractType.cs

                /// <summary>
                /// Disassembles the object into a cacheable representation.
                /// </summary>
                /// <param name="value">The value to disassemble.</param>
                /// <param name="session">The <see cref="ISessionImplementor"/> is not used by this method.</param>
                /// <param name="owner">optional parent entity object (needed for collections) </param>
                /// <returns>The disassembled, deep cloned state of the object</returns>
                /// <remarks>
                /// This method calls DeepCopy if the value is not null.
                /// </remarks>
                public virtual object Disassemble(object value, ISessionImplementor session, object owner)
                {
                        if (value == null)
                                return null;

                        return DeepCopy(value, session.EntityMode, session.Factory);
                }



Clone Instance
2
Line Count
6
Source Line
87
Source File
src/NHibernate/Type/AbstractType.cs

                /// <summary>
                /// Reconstructs the object from its cached "disassembled" state.
                /// </summary>
                /// <param name="cached">The disassembled state from the cache</param>
                /// <param name="session">The <see cref="ISessionImplementor"/> is not used by this method.</param>
                /// <param name="owner">The parent Entity object is not used by this method</param>
                /// <returns>The assembled object.</returns>
                /// <remarks>
                /// This method calls DeepCopy if the value is not null.
                /// </remarks>
                public virtual object Assemble(object cached, ISessionImplementor session, object owner)
                {
                        if (cached == null)
                                return null;

                        return DeepCopy(cached, session.EntityMode, session.Factory);
                }



Clone AbstractionParameter Count: 2Parameter Bindings

/// <summary>
/// Reconstructs the object from its cached "disassembled" state.
/// Disassembles the object into a cacheable representation.
/// </summary>
/// <param name="cached">The disassembled state from the cache</param>
/// <param name="value">The value to disassemble.</param>
/// <param name="session">The <see cref="ISessionImplementor"/> is not used by this method.</param>
/// <param name="owner">The parent Entity object is not used by this method</param>
/// <returns>The assembled object.</returns>
/// <param name="owner">optional parent entity object (needed for collections) </param>
/// <returns>The disassembled, deep cloned state of the object</returns>
/// <remarks>
/// This method calls DeepCopy if the value is not null.
/// </remarks>
public virtual object [[#variable28a06000]](object [[#variable287e1f60]], ISessionImplementor session, object owner)
{
   if ( [[#variable287e1f60]]== null)
      return null;
   return DeepCopy( [[#variable287e1f60]], session.EntityMode, session.Factory);
}

 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#28a06000]]
Assemble 
12[[#28a06000]]
Disassemble 
21[[#287e1f60]]
cached 
22[[#287e1f60]]
value