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