Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
15 | 2 | 1 | 0.990 | compilation_unit |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 15 | 1 | src/NHibernate/Event/PostCollectionRecreateEvent.cs |
2 | 15 | 1 | src/NHibernate/Event/PreCollectionRecreateEvent.cs |
| ||||
using System; using NHibernate.Collection; using NHibernate.Persister.Collection; namespace NHibernate.Event { /// <summary> An event that occurs after a collection is recreated </summary> [Serializable] public class PostCollectionRecreateEvent : AbstractCollectionEvent { public PostCollectionRecreateEvent(ICollectionPersister collectionPersister, IPersistentCollection collection, IEventSource source) : base(collectionPersister, collection, source, collection.Owner, GetOwnerIdOrNull(collection.Owner, source)) { } } } |
| ||||
using System; using NHibernate.Collection; using NHibernate.Persister.Collection; namespace NHibernate.Event { /// <summary> An event that occurs before a collection is recreated </summary> [Serializable] public class PreCollectionRecreateEvent : AbstractCollectionEvent { public PreCollectionRecreateEvent(ICollectionPersister collectionPersister, IPersistentCollection collection, IEventSource source) : base(collectionPersister, collection, source, collection.Owner, GetOwnerIdOrNull(collection.Owner, source)) { } } } |
| |||
using System; using NHibernate.Collection; using NHibernate.Persister.Collection; namespace NHibernate.Event { /// <summary> An event that occurs after a collection is recreated </summary> /// <summary> An event that occurs before a collection is recreated </summary> [Serializable] public class [[#variable2bf5a5c0]]: AbstractCollectionEvent { public [[#variable2bf5a5c0]](ICollectionPersister collectionPersister, IPersistentCollection collection, IEventSource source): base(collectionPersister, collection, source, collection.Owner, GetOwnerIdOrNull(collection.Owner, source)) { } } } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#2bf5a5c0]] | PostCollectionRecreateEvent |
1 | 2 | [[#2bf5a5c0]] | PreCollectionRecreateEvent |