Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
5 | 2 | 3 | 0.952 | class_member_declaration |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 4 | 23 | src/NHibernate/Id/SelectGenerator.cs |
2 | 5 | 24 | src/NHibernate/Id/SequenceIdentityGenerator.cs |
| ||||
#region Overrides of AbstractPostInsertGenerator public override IInsertGeneratedIdentifierDelegate GetInsertGeneratedIdentifierDelegate( IPostInsertIdentityPersister persister, ISessionFactoryImplementor factory, bool isGetGeneratedKeysEnabled) { return new SelectGeneratorDelegate(persister, factory, uniqueKeyPropertyName); } |
| ||||
#endregion #region Implementation of IPostInsertIdentifierGenerator public IInsertGeneratedIdentifierDelegate GetInsertGeneratedIdentifierDelegate(IPostInsertIdentityPersister persister, ISessionFactoryImplementor factory, bool isGetGeneratedKeysEnabled) { return new SequenceIdentityDelegate(persister, factory, SequenceName); } |
| |||
[[#variable51384920]]IInsertGeneratedIdentifierDelegate GetInsertGeneratedIdentifierDelegate(IPostInsertIdentityPersister persister, ISessionFactoryImplementor factory, bool isGetGeneratedKeysEnabled) { return new [[#variable50ce7920]](persister, factory, [[#variable51384860]]); } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#51384920]] | #endregion #region Implementation of IPostInsertIdentifierGenerator public |
1 | 2 | [[#51384920]] | #region Overrides of AbstractPostInsertGenerator public override |
2 | 1 | [[#50ce7920]] | SequenceIdentityDelegate |
2 | 2 | [[#50ce7920]] | SelectGeneratorDelegate |
3 | 1 | [[#51384860]] | SequenceName |
3 | 2 | [[#51384860]] | uniqueKeyPropertyName |