CloneSet657


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

        }
}


Clone Instance
2
Line Count
17
Source Line
1
Source File
src/NHibernate/Event/PreCollectionUpdateEvent.cs

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

        }
}


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 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 Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#2c5147e0]]
PostCollectionUpdateEvent 
12[[#2c5147e0]]
PreCollectionUpdateEvent