CloneSet1141


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
15220.987class_member_declaration
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
115106
src/NHibernate.DomainModel/Fum.cs
215129
src/NHibernate.DomainModel/Fum.cs
Clone Instance
1
Line Count
15
Source Line
106
Source File
src/NHibernate.DomainModel/Fum.cs

                public LifecycleVeto OnDelete(ISession s)
                {
                        if (_friends == null) return LifecycleVeto.NoVeto;
                        try
                        {
                                foreach (object obj in _friends)
                                {
                                        s.Delete(obj);
                                }
                        }
                        catch (Exception e)
                        {
                                throw new CallbackException(e);
                        }
                        return LifecycleVeto.NoVeto;
                }



Clone Instance
2
Line Count
15
Source Line
129
Source File
src/NHibernate.DomainModel/Fum.cs

                public LifecycleVeto OnSave(ISession s)
                {
                        if (_friends == null) return LifecycleVeto.NoVeto;
                        try
                        {
                                foreach (object obj in _friends)
                                {
                                        s.Save(obj);
                                }
                        }
                        catch (Exception e)
                        {
                                throw new CallbackException(e);
                        }
                        return LifecycleVeto.NoVeto;
                }



Clone AbstractionParameter Count: 2Parameter Bindings

public LifecycleVeto [[#variable6633c360]](ISession s)
{
   if (_friends == null)
      return LifecycleVeto.NoVeto;
   try
   {
      foreach (object obj in _friends)
      {
         s. [[#variable6633c1e0]](obj);
      }
   }
   catch (Exception e)
   {
      throw new CallbackException(e);
   }
   return LifecycleVeto.NoVeto;
}

 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#6633c360]]
OnSave 
12[[#6633c360]]
OnDelete 
21[[#6633c1e0]]
Save 
22[[#6633c1e0]]
Delete