Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
2 | 2 | 1 | 0.988 | method_header |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 2 | 1076 | src/NHibernate/Type/TypeFactory.cs |
2 | 2 | 1109 | src/NHibernate/Type/TypeFactory.cs |
| ||||
/// <summary> /// Apply the <see cref="IType.Replace(object, object, ISessionImplementor, object, IDictionary, ForeignKeyDirection)"/> /// operation across a series of values. /// </summary> /// <param name="original">The source of the state </param> /// <param name="target">The target into which to replace the source values. </param> /// <param name="types">The value types </param> /// <param name="session">The originating session </param> /// <param name="owner">The entity "owning" the values </param> /// <param name="copyCache">A map representing a cache of already replaced state </param> /// <param name="foreignKeyDirection">FK directionality to be applied to the replacement </param> /// <returns> The replaced state </returns> public static object[] Replace(object[] original, object[] target, IType[] types, ISessionImplementor session, object owner, IDictionary copyCache, ForeignKeyDirection foreignKeyDirection) |
| ||||
/// <summary> /// Apply the <see cref="IType.Replace(object, object, ISessionImplementor, object, IDictionary, ForeignKeyDirection)"/> /// operation across a series of values, as /// long as the corresponding <see cref="IType"/> is an association. /// </summary> /// <param name="original">The source of the state </param> /// <param name="target">The target into which to replace the source values. </param> /// <param name="types">The value types </param> /// <param name="session">The originating session </param> /// <param name="owner">The entity "owning" the values </param> /// <param name="copyCache">A map representing a cache of already replaced state </param> /// <param name="foreignKeyDirection">FK directionality to be applied to the replacement </param> /// <returns> The replaced state </returns> /// <remarks> /// If the corresponding type is a component type, then apply <see cref="ReplaceAssociations"/> /// across the component subtypes but do not replace the component value itself. /// </remarks> public static object[] ReplaceAssociations(object[] original, object[] target, IType[] types, ISessionImplementor session , object owner, IDictionary copyCache, ForeignKeyDirection foreignKeyDirection) |
| |||
/// <summary> /// <summary> /// Apply the <see cref="IType.Replace(object, object, ISessionImplementor, object, IDictionary, ForeignKeyDirection)"/> /// operation across a series of values, as /// long as the corresponding <see cref="IType"/> is an association. /// operation across a series of values. /// </summary> /// <param name="original">The source of the state </param> /// <param name="target">The target into which to replace the source values. </param> /// <param name="types">The value types </param> /// <param name="session">The originating session </param> /// <param name="owner">The entity "owning" the values </param> /// <param name="copyCache">A map representing a cache of already replaced state </param> /// <param name="foreignKeyDirection">FK directionality to be applied to the replacement </param> /// <returns> The replaced state </returns> /// <remarks> /// If the corresponding type is a component type, then apply <see cref="ReplaceAssociations"/> /// across the component subtypes but do not replace the component value itself. /// </remarks> public static object[] [[#variable6f553780]](object[] original, object[] target, IType[] types, ISessionImplementor session, object owner, IDictionary copyCache, ForeignKeyDirection foreignKeyDirection) |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#6f553780]] | ReplaceAssociations |
1 | 2 | [[#6f553780]] | Replace |