CloneSet740


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/PostCollectionRecreateEvent.cs
2151
src/NHibernate/Event/PreCollectionRecreateEvent.cs
Clone Instance
1
Line Count
15
Source Line
1
Source File
src/NHibernate/Event/PostCollectionRecreateEvent.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)) {
                                                                                                                                      }

        }
}


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

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

        }
}


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 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 Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#2bf5a5c0]]
PostCollectionRecreateEvent 
12[[#2bf5a5c0]]
PreCollectionRecreateEvent