Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
7 | 2 | 3 | 0.959 | interface_member_declarations[2] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 7 | 22 | src/NHibernate/Criterion/ICriterion.cs |
2 | 11 | 32 | src/NHibernate/Criterion/IProjection.cs |
| ||||
/// <summary> /// Render a SqlString fragment for the expression. /// </summary> /// <returns>A SqlString that contains a valid Sql fragment.</returns> SqlString ToSqlString(ICriteria criteria, ICriteriaQuery criteriaQuery, IDictionary<string, IFilter> enabledFilters); /// <summary> /// Return typed values for all parameters in the rendered SQL fragment /// </summary> /// <returns>An array of TypedValues for the Expression.</returns> TypedValue[] GetTypedValues(ICriteria criteria, ICriteriaQuery criteriaQuery); |
| ||||
/// <summary> /// Render the SQL Fragment to be used in the Group By Clause. /// </summary> /// <param name="criteria">The criteria.</param> /// <param name="criteriaQuery">The criteria query.</param> /// <param name="enabledFilters">The enabled filters.</param> /// <returns></returns> SqlString ToGroupSqlString(ICriteria criteria, ICriteriaQuery criteriaQuery, IDictionary<string, IFilter> enabledFilters); /// <summary> /// Return types for a particular user-visible alias /// </summary> /// <param name="criteria"></param> /// <param name="criteriaQuery"></param> /// <returns></returns> IType[] GetTypes(ICriteria criteria, ICriteriaQuery criteriaQuery); |
| |||
/// <summary> /// Render a SqlString fragment for the expression. /// Render the SQL Fragment to be used in the Group By Clause. /// </summary> /// <returns>A SqlString that contains a valid Sql fragment.</returns> /// <param name="criteria">The criteria.</param> /// <param name="criteriaQuery">The criteria query.</param> /// <param name="enabledFilters">The enabled filters.</param> /// <returns></returns> SqlString [[#variable67ad1460]](ICriteria criteria, ICriteriaQuery criteriaQuery, IDictionary<string, IFilter> enabledFilters); [[#variable6f55d960]][] [[#variable6f55d940]](ICriteria criteria, ICriteriaQuery criteriaQuery); |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#67ad1460]] | ToSqlString |
1 | 2 | [[#67ad1460]] | ToGroupSqlString |
2 | 1 | [[#6f55d960]] | /// <summary> /// Return typed values for all parameters in the rendered SQL fragment /// </summary> /// <returns>An array of TypedValues for the Expression.</returns> TypedValue |
2 | 2 | [[#6f55d960]] | /// <summary> /// Return types for a particular user-visible alias /// </summary> /// <param name="criteria"></param> /// <param name="criteriaQuery"></param> /// <returns></returns> IType |
3 | 1 | [[#6f55d940]] | GetTypedValues |
3 | 2 | [[#6f55d940]] | GetTypes |