CloneSet1268


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
14210.986class_member_declarations[2]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
11448
src/NHibernate/Type/TicksType.cs
21453
src/NHibernate/Type/TimeSpanType.cs
Clone Instance
1
Line Count
14
Source Line
48
Source File
src/NHibernate/Type/TicksType.cs

                /// <summary></summary>
                public override System.Type ReturnedClass
                {
                        get { return typeof(DateTime);
                            }
                }

                /// <summary>
                /// 
                /// </summary>
                /// <param name="st"></param>
                /// <param name="value"></param>
                /// <param name="index"></param>
                public override void Set(IDbCommand st, object value, int index)
                {
                        ((IDataParameter)st.Parameters[index]).Value = ((DateTime)value).Ticks;
                }



Clone Instance
2
Line Count
14
Source Line
53
Source File
src/NHibernate/Type/TimeSpanType.cs

                /// <summary></summary>
                public override System.Type ReturnedClass
                {
                        get { return typeof(TimeSpan);
                            }
                }

                /// <summary>
                /// 
                /// </summary>
                /// <param name="st"></param>
                /// <param name="value"></param>
                /// <param name="index"></param>
                public override void Set(IDbCommand st, object value, int index)
                {
                        ((IDataParameter)st.Parameters[index]).Value = ((TimeSpan)value).Ticks;
                }



Clone AbstractionParameter Count: 1Parameter Bindings

/// <summary></summary>
public override System.Type ReturnedClass
{
   get
   {
      return typeof( [[#variable278cf620]]);
   }
}

/// <summary>
/// 
/// </summary>
/// <param name="st"></param>
/// <param name="value"></param>
/// <param name="index"></param>
public override void Set(IDbCommand st, object value, int index)
{
   ((IDataParameter)st.Parameters[index]).Value = (( [[#variable278cf620]])value).Ticks;
}

 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#278cf620]]
TimeSpan 
12[[#278cf620]]
DateTime