CloneSet212


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
8560.954block
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
18102
src/NHibernate/Action/EntityDeleteAction.cs
28143
src/NHibernate/Action/EntityDeleteAction.cs
38120
src/NHibernate/Action/EntityIdentityInsertAction.cs
48126
src/NHibernate/Action/EntityInsertAction.cs
58139
src/NHibernate/Action/EntityInsertAction.cs
Clone Instance
1
Line Count
8
Source Line
102
Source File
src/NHibernate/Action/EntityDeleteAction.cs

                {
                        IPostDeleteEventListener[] postListeners = Session.Listeners.PostDeleteEventListeners;
                        if (postListeners.Length > 0)
                        {
                                PostDeleteEvent postEvent = new PostDeleteEvent(Instance, Id, state, Persister, (IEventSource)Session);
                                foreach (IPostDeleteEventListener listener in postListeners)
                                {
                                        listener.OnPostDelete(postEvent);
                                }
                        }
                }


Clone Instance
2
Line Count
8
Source Line
143
Source File
src/NHibernate/Action/EntityDeleteAction.cs

                {
                        IPostDeleteEventListener[] postListeners = Session.Listeners.PostCommitDeleteEventListeners;
                        if (postListeners.Length > 0)
                        {
                                PostDeleteEvent postEvent = new PostDeleteEvent(Instance, Id, state, Persister, (IEventSource)Session);
                                foreach (IPostDeleteEventListener listener in postListeners)
                                {
                                        listener.OnPostDelete(postEvent);
                                }
                        }
                }


Clone Instance
3
Line Count
8
Source Line
120
Source File
src/NHibernate/Action/EntityIdentityInsertAction.cs

                {
                        IPostInsertEventListener[] postListeners = Session.Listeners.PostCommitInsertEventListeners;
                        if (postListeners.Length > 0)
                        {
                                var postEvent = new PostInsertEvent(Instance, generatedId, state, Persister, (IEventSource) Session);
                                foreach (IPostInsertEventListener listener in postListeners)
                                {
                                        listener.OnPostInsert(postEvent);
                                }
                        }
                }


Clone Instance
4
Line Count
8
Source Line
126
Source File
src/NHibernate/Action/EntityInsertAction.cs

                {
                        IPostInsertEventListener[] postListeners = Session.Listeners.PostInsertEventListeners;
                        if (postListeners.Length > 0)
                        {
                                PostInsertEvent postEvent = new PostInsertEvent(Instance, Id, state, Persister, (IEventSource)Session);
                                foreach (IPostInsertEventListener listener in postListeners)
                                {
                                        listener.OnPostInsert(postEvent);
                                }
                        }
                }


Clone Instance
5
Line Count
8
Source Line
139
Source File
src/NHibernate/Action/EntityInsertAction.cs

                {
                        IPostInsertEventListener[] postListeners = Session.Listeners.PostCommitInsertEventListeners;
                        if (postListeners.Length > 0)
                        {
                                PostInsertEvent postEvent = new PostInsertEvent(Instance, Id, state, Persister, (IEventSource)Session);
                                foreach (IPostInsertEventListener listener in postListeners)
                                {
                                        listener.OnPostInsert(postEvent);
                                }
                        }
                }


Clone AbstractionParameter Count: 6Parameter Bindings

{
    [[#variable6fdcb580]][] postListeners = Session.Listeners. [[#variable701b0ce0]];
   if (postListeners.Length > 0)
   {
       [[#variable6fdcb620]]postEvent = new [[#variable6ffadd80]](Instance, [[#variable6e4c4000]], state, Persister, (IEventSource)Session);
      foreach ( [[#variable6fdcb580]]listener in postListeners)
      {
         listener. [[#variable6fdcb540]](postEvent);
      }
   }
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#6fdcb580]]
IPostInsertEventListener 
12[[#6fdcb580]]
IPostInsertEventListener 
13[[#6fdcb580]]
IPostDeleteEventListener 
14[[#6fdcb580]]
IPostInsertEventListener 
15[[#6fdcb580]]
IPostDeleteEventListener 
21[[#701b0ce0]]
PostInsertEventListeners 
22[[#701b0ce0]]
PostCommitInsertEventListeners 
23[[#701b0ce0]]
PostDeleteEventListeners 
24[[#701b0ce0]]
PostCommitInsertEventListeners 
25[[#701b0ce0]]
PostCommitDeleteEventListeners 
31[[#6fdcb620]]
PostInsertEvent 
32[[#6fdcb620]]
var 
33[[#6fdcb620]]
PostDeleteEvent 
34[[#6fdcb620]]
PostInsertEvent 
35[[#6fdcb620]]
PostDeleteEvent 
41[[#6ffadd80]]
PostInsertEvent 
42[[#6ffadd80]]
PostInsertEvent 
43[[#6ffadd80]]
PostDeleteEvent 
44[[#6ffadd80]]
PostInsertEvent 
45[[#6ffadd80]]
PostDeleteEvent 
51[[#6e4c4000]]
Id 
52[[#6e4c4000]]
generatedId 
53[[#6e4c4000]]
Id 
54[[#6e4c4000]]
Id 
55[[#6e4c4000]]
Id 
61[[#6fdcb540]]
OnPostInsert 
62[[#6fdcb540]]
OnPostInsert 
63[[#6fdcb540]]
OnPostDelete 
64[[#6fdcb540]]
OnPostInsert 
65[[#6fdcb540]]
OnPostDelete