Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
5 | 3 | 2 | 0.973 | class_member_declaration |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 5 | 33 | src/NHibernate.DomainModel/Vetoer.cs |
2 | 5 | 44 | src/NHibernate.DomainModel/Vetoer.cs |
3 | 5 | 51 | src/NHibernate.DomainModel/Vetoer.cs |
| ||||
#region ILifecycle Members public LifecycleVeto OnUpdate(ISession s) { bool result = !_onUpdateCalled; _onUpdateCalled = true; return (result ? LifecycleVeto.Veto: LifecycleVeto.NoVeto); } |
| ||||
public LifecycleVeto OnSave(ISession s) { bool result = !_onSaveCalled; _onSaveCalled = true; return (result ? LifecycleVeto.Veto: LifecycleVeto.NoVeto); } |
| ||||
public LifecycleVeto OnDelete(ISession s) { bool result = !_onDeleteCalled; _onDeleteCalled = true; return (result ? LifecycleVeto.Veto: LifecycleVeto.NoVeto); } |
| |||
#region ILifecycle Members public LifecycleVeto [[#variable583db3c0]](ISession s) { bool result = ! [[#variable583db2e0]]; [[#variable583db2e0]]= true; return (result ? LifecycleVeto.Veto: LifecycleVeto.NoVeto); } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#583db3c0]] | OnDelete |
1 | 2 | [[#583db3c0]] | OnSave |
1 | 3 | [[#583db3c0]] | OnUpdate |
2 | 1 | [[#583db2e0]] | _onDeleteCalled |
2 | 2 | [[#583db2e0]] | _onSaveCalled |
2 | 3 | [[#583db2e0]] | _onUpdateCalled |