CloneSet959


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
5320.973class_member_declaration
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
1533
src/NHibernate.DomainModel/Vetoer.cs
2544
src/NHibernate.DomainModel/Vetoer.cs
3551
src/NHibernate.DomainModel/Vetoer.cs
Clone Instance
1
Line Count
5
Source Line
33
Source File
src/NHibernate.DomainModel/Vetoer.cs

                #region ILifecycle Members
                public LifecycleVeto OnUpdate(ISession s)
                {
                        bool result = !_onUpdateCalled;
                        _onUpdateCalled = true;
                        return (result ? LifecycleVeto.Veto:  LifecycleVeto.NoVeto);
                }



Clone Instance
2
Line Count
5
Source Line
44
Source File
src/NHibernate.DomainModel/Vetoer.cs

                public LifecycleVeto OnSave(ISession s)
                {
                        bool result = !_onSaveCalled;
                        _onSaveCalled = true;
                        return (result ? LifecycleVeto.Veto:  LifecycleVeto.NoVeto);
                }



Clone Instance
3
Line Count
5
Source Line
51
Source File
src/NHibernate.DomainModel/Vetoer.cs

                public LifecycleVeto OnDelete(ISession s)
                {
                        bool result = !_onDeleteCalled;
                        _onDeleteCalled = true;
                        return (result ? LifecycleVeto.Veto:  LifecycleVeto.NoVeto);
                }



Clone AbstractionParameter Count: 2Parameter Bindings

#region ILifecycle Members
public LifecycleVeto [[#variable583db3c0]](ISession s)
{
   bool result = ! [[#variable583db2e0]];
    [[#variable583db2e0]]= true;
   return (result ?
           LifecycleVeto.Veto: LifecycleVeto.NoVeto);
}

 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#583db3c0]]
OnDelete 
12[[#583db3c0]]
OnSave 
13[[#583db3c0]]
OnUpdate 
21[[#583db2e0]]
_onDeleteCalled 
22[[#583db2e0]]
_onSaveCalled 
23[[#583db2e0]]
_onUpdateCalled