CloneSet733


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
15210.990compilation_unit
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
1151
src/NHibernate/Event/PostCollectionRemoveEvent.cs
2151
src/NHibernate/Event/PreCollectionRemoveEvent.cs
Clone Instance
1
Line Count
15
Source Line
1
Source File
src/NHibernate/Event/PostCollectionRemoveEvent.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)) {
                                                                                                                            }

        }
}


Clone Instance
2
Line Count
15
Source Line
1
Source File
src/NHibernate/Event/PreCollectionRemoveEvent.cs

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)) {
                                                                                                                            }

        }
}


Clone AbstractionParameter Count: 1Parameter Bindings

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 Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#652ef640]]
PostCollectionRemoveEvent 
12[[#652ef640]]
PreCollectionRemoveEvent