CloneSet764


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
18201.000class_member_declarations[4]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
118137
src/NHibernate/Type/DateTimeType.cs
218111
src/NHibernate/Type/TimeType.cs
Clone Instance
1
Line Count
18
Source Line
137
Source File
src/NHibernate/Type/DateTimeType.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;
                            }
                }



Clone Instance
2
Line Count
18
Source Line
111
Source File
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;
                            }
                }



Clone AbstractionParameter Count: 0Parameter Bindings

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 Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
None