Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
10 | 3 | 5 | 0.965 | class_member_declarations[2] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 10 | 269 | src/NHibernate/Impl/AbstractDetachedQuery.cs |
2 | 10 | 451 | src/NHibernate/Impl/AbstractQueryImpl.cs |
3 | 10 | 565 | src/NHibernate/Impl/AbstractQueryImpl.cs |
| ||||
public IDetachedQuery SetEntity(string name, object val) { SetParameter(name, val, NHibernateUtil.Entity(NHibernateProxyHelper.GuessClass(val))); return this ; } public IDetachedQuery SetEnum(int position, Enum val) { SetParameter(position, val, NHibernateUtil.Enum(val.GetType())); return this ; } |
| ||||
public IQuery SetEntity(int position, object val) { SetParameter(position, val, NHibernateUtil.Entity(NHibernateProxyHelper.GuessClass(val))); return this ; } public IQuery SetEnum(int position, Enum val) { SetParameter(position, val, NHibernateUtil.Enum(val.GetType())); return this ; } |
| ||||
public IQuery SetEntity(string name, object val) { SetParameter(name, val, NHibernateUtil.Entity(NHibernateProxyHelper.GuessClass(val))); return this ; } public IQuery SetEnum(string name, Enum val) { SetParameter(name, val, NHibernateUtil.Enum(val.GetType())); return this ; } |
| |||
public [[#variable70b0a8a0]]SetEntity( [[#variable2d0991e0]] [[#variable703a13c0]], object val) { SetParameter( [[#variable703a13c0]], val, NHibernateUtil.Entity(NHibernateProxyHelper.GuessClass(val))); return this ; } public [[#variable70b0a8a0]]SetEnum( [[#variable2cf80c80]] [[#variable67b7db60]], Enum val) { SetParameter( [[#variable67b7db60]], val, NHibernateUtil.Enum(val.GetType())); return this ; } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#70b0a8a0]] | IDetachedQuery |
1 | 2 | [[#70b0a8a0]] | IQuery |
1 | 3 | [[#70b0a8a0]] | IQuery |
2 | 1 | [[#2d0991e0]] | string |
2 | 2 | [[#2d0991e0]] | string |
2 | 3 | [[#2d0991e0]] | int |
3 | 1 | [[#703a13c0]] | name |
3 | 2 | [[#703a13c0]] | name |
3 | 3 | [[#703a13c0]] | position |
4 | 1 | [[#2cf80c80]] | int |
4 | 2 | [[#2cf80c80]] | string |
4 | 3 | [[#2cf80c80]] | int |
5 | 1 | [[#67b7db60]] | position |
5 | 2 | [[#67b7db60]] | name |
5 | 3 | [[#67b7db60]] | position |