CloneSet860


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
18230.968namespace_member_declaration
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
11851
src/NHibernate.Test/NHSpecificTest/NH1408/DbResource.cs
21768
src/NHibernate.Test/NHSpecificTest/NH1408/DbResource.cs
Clone Instance
1
Line Count
18
Source Line
51
Source File
src/NHibernate.Test/NHSpecificTest/NH1408/DbResource.cs

        internal class IntDbResource : DbResource
        {
                protected IntDbResource() {
                                          }

                public IntDbResource(string key, int xml)
                {
                        AddKey(new DbResourceKey(key));
                        Value = xml;
                }

                public override object Value
                {
                        get { return int.Parse(RawValue);
                            }
                        set { RawValue = ((int) value).ToString();
                            }
                }

        }


Clone Instance
2
Line Count
17
Source Line
68
Source File
src/NHibernate.Test/NHSpecificTest/NH1408/DbResource.cs

        internal class DecimalDbResource : DbResource
        {
                protected DecimalDbResource() {
                                              }

                public DecimalDbResource(string key, decimal xml)
                {
                        AddKey(new DbResourceKey(key));
                        Value = xml;
                }

                public override object Value
                {
                        get { return decimal.Parse(RawValue);
                            }
                        set { RawValue = ((decimal) value).ToString();
                            }
                }

        }


Clone AbstractionParameter Count: 3Parameter Bindings

internal class [[#variable26f94b20]]: DbResource
{
   protected [[#variable26f94b20]]()
   {
   }

   public [[#variable26f94b20]](string key, [[#variable26f94aa0]]xml)
   {
      AddKey(new DbResourceKey(key));
      Value = xml;
   }

   public override object Value
   {
      get
      {
         return [[#variable26f94a00]].Parse(RawValue);
      }
      set
      {
         RawValue = (( [[#variable26f94aa0]])value).ToString();
      }
   }

}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#26f94b20]]
IntDbResource 
12[[#26f94b20]]
DecimalDbResource 
21[[#26f94aa0]]
int 
22[[#26f94aa0]]
decimal 
31[[#26f94a00]]
int 
32[[#26f94a00]]
decimal