Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
18 | 2 | 0 | 1.000 | class_member_declarations[4] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 18 | 137 | src/NHibernate/Type/DateTimeType.cs |
2 | 18 | 111 | src/NHibernate/Type/TimeType.cs |
| ||||
public object StringToObject(string xml) { return string.IsNullOrEmpty(xml) ? null: FromStringValue(xml); } public override object FromStringValue(string xml) { return DateTime.Parse(xml); } public override System.Type PrimitiveClass { get { return typeof(DateTime); } } public override object DefaultValue { get { return BaseDateValue; } } |
| ||||
public object StringToObject(string xml) { return string.IsNullOrEmpty(xml) ? null: FromStringValue(xml); } public override object FromStringValue(string xml) { return DateTime.Parse(xml); } public override System.Type PrimitiveClass { get { return typeof(DateTime); } } public override object DefaultValue { get { return BaseDateValue; } } |
| |||
public object StringToObject(string xml) { return string.IsNullOrEmpty(xml) ? null: FromStringValue(xml); } public override object FromStringValue(string xml) { return DateTime.Parse(xml); } public override System.Type PrimitiveClass { get { return typeof(DateTime); } } public override object DefaultValue { get { return BaseDateValue; } } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
None |