Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
20 | 2 | 0 | 1.000 | class_member_declarations[3] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 20 | 134 | src/NHibernate/Type/EnumCharType.cs |
2 | 27 | 186 | src/NHibernate/Type/EnumStringType.cs |
| ||||
public override string ToString(object value) { return (value == null) ? null: GetValue(value).ToString(); } public override object Assemble(object cached, ISessionImplementor session, object owner) { if (cached == null) { return null; } else { return GetInstance(cached); } } public override object Disassemble(object value, ISessionImplementor session, object owner) { return (value == null) ? null: GetValue(value); } |
| ||||
/// <summary> /// /// </summary> /// <param name="value"></param> /// <returns></returns> public override string ToString(object value) { return (value == null) ? null: GetValue(value).ToString(); } /// <summary> /// /// </summary> /// <param name="cached"></param> /// <param name="session"></param> /// <param name="owner"></param> /// <returns></returns> public override object Assemble(object cached, ISessionImplementor session, object owner) { if (cached == null) { return null; } else { return GetInstance(cached); } } public override object Disassemble(object value, ISessionImplementor session, object owner) { return (value == null) ? null: GetValue(value); } |
| |||
/// <summary> /// /// </summary> /// <param name="value"></param> /// <returns></returns> public override string ToString(object value) { return (value == null) ? null: GetValue(value).ToString(); } /// <summary> /// /// </summary> /// <param name="cached"></param> /// <param name="session"></param> /// <param name="owner"></param> /// <returns></returns> public override object Assemble(object cached, ISessionImplementor session, object owner) { if (cached == null) { return null; } else { return GetInstance(cached); } } public override object Disassemble(object value, ISessionImplementor session, object owner) { return (value == null) ? null: GetValue(value); } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
None |