| Previous CloneSet | Next CloneSet | Back to Main Report |
| Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
|---|---|---|---|---|
| 6 | 2 | 4 | 0.957 | class_member_declaration |
| Clone Abstraction | Parameter Bindings |
| Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
|---|---|---|---|
| 1 | 6 | 135 | src/NHibernate/Impl/AbstractDetachedQuery.cs |
| 2 | 6 | 151 | src/NHibernate/Impl/AbstractDetachedQuery.cs |
| ||||
public IDetachedQuery SetParameter(string name, object val)
{
if (string.IsNullOrEmpty(name))
throw new ArgumentNullException("name", "Is null or empty.");
namedUntypeParams[name] = val;
return this ;
}
|
| ||||
public IDetachedQuery SetParameterList(string name, ICollection vals)
{
if (string.IsNullOrEmpty(name))
throw new ArgumentNullException("name", "Is null or empty.");
namedUntypeListParams[name] = vals;
return this ;
}
|
| |||
public IDetachedQuery [[#variable57d07c20]](string name, [[#variable57d07ba0]] [[#variable57d07b20]])
{
if (string.IsNullOrEmpty(name))
throw new ArgumentNullException("name", "Is null or empty.");
[[#variable57d07a80]][name] = [[#variable57d07b20]];
return this ;
}
|
| CloneAbstraction |
| Parameter Index | Clone Instance | Parameter Name | Value |
|---|---|---|---|
| 1 | 1 | [[#57d07c20]] | SetParameter |
| 1 | 2 | [[#57d07c20]] | SetParameterList |
| 2 | 1 | [[#57d07ba0]] | object |
| 2 | 2 | [[#57d07ba0]] | ICollection |
| 3 | 1 | [[#57d07b20]] | val |
| 3 | 2 | [[#57d07b20]] | vals |
| 4 | 1 | [[#57d07a80]] | namedUntypeParams |
| 4 | 2 | [[#57d07a80]] | namedUntypeListParams |