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/PostCollectionRemoveEvent.cs |
2 | 15 | 1 | src/NHibernate/Event/PreCollectionRemoveEvent.cs |
| ||||
using System; using NHibernate.Collection; using NHibernate.Persister.Collection; namespace NHibernate.Event { /// <summary> An event that occurs after a collection is removed </summary> [Serializable] public class PostCollectionRemoveEvent : AbstractCollectionEvent { public PostCollectionRemoveEvent(ICollectionPersister collectionPersister, IPersistentCollection collection, IEventSource source, object loadedOwner) : base(collectionPersister, collection, source, loadedOwner, GetOwnerIdOrNull(loadedOwner, source)) { } } } |
| ||||
using System; using NHibernate.Collection; using NHibernate.Persister.Collection; namespace NHibernate.Event { /// <summary> An event that occurs before a collection is removed </summary> [Serializable] public class PreCollectionRemoveEvent : AbstractCollectionEvent { public PreCollectionRemoveEvent(ICollectionPersister collectionPersister, IPersistentCollection collection, IEventSource source, object loadedOwner) : base(collectionPersister, collection, source, loadedOwner, GetOwnerIdOrNull(loadedOwner, source)) { } } } |
| |||
using System; using NHibernate.Collection; using NHibernate.Persister.Collection; namespace NHibernate.Event { /// <summary> An event that occurs after a collection is removed </summary> /// <summary> An event that occurs before a collection is removed </summary> [Serializable] public class [[#variable652ef640]]: AbstractCollectionEvent { public [[#variable652ef640]](ICollectionPersister collectionPersister, IPersistentCollection collection, IEventSource source, object loadedOwner): base(collectionPersister, collection, source, loadedOwner, GetOwnerIdOrNull(loadedOwner, source)) { } } } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#652ef640]] | PostCollectionRemoveEvent |
1 | 2 | [[#652ef640]] | PreCollectionRemoveEvent |