CloneSet438


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
10430.966class_member_declarations
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
1712
src/NHibernate/Event/PostDeleteEvent.cs
2712
src/NHibernate/Event/PostInsertEvent.cs
31119
src/NHibernate/Event/PreDeleteEvent.cs
41011
src/NHibernate/Event/PreInsertEvent.cs
Clone Instance
1
Line Count
7
Source Line
12
Source File
src/NHibernate/Event/PostDeleteEvent.cs

                public PostDeleteEvent(object entity, object id, object[] deletedState, IEntityPersister persister, IEventSource source)
                        : base(source, entity, id, persister)
                {
                        DeletedState = deletedState;
                }

                public object[] DeletedState
                {                              get ; private set ;
                }



Clone Instance
2
Line Count
7
Source Line
12
Source File
src/NHibernate/Event/PostInsertEvent.cs

                public PostInsertEvent(object entity, object id, object[] state, IEntityPersister persister, IEventSource source)
                        : base(source, entity, id, persister)
                {
                        State = state;
                }

                public object[] State
                {                       get ; private set ;
                }



Clone Instance
3
Line Count
11
Source Line
19
Source File
src/NHibernate/Event/PreDeleteEvent.cs

                /// <summary> 
                /// Constructs an event containing the pertinent information. 
                /// </summary>
                /// <param name="entity">The entity to be deleted. </param>
                /// <param name="id">The id to use in the deletion. </param>
                /// <param name="deletedState">The entity's state at deletion time. </param>
                /// <param name="persister">The entity's persister. </param>
                /// <param name="source">The session from which the event originated. </param>
                public PreDeleteEvent(object entity, object id, object[] deletedState, IEntityPersister persister, IEventSource source)
                        : base(source, entity, id, persister)
                {
                        DeletedState = deletedState;
                }

                /// <summary> 
                /// This is the entity state at the
                /// time of deletion (useful for optomistic locking and such). 
                /// </summary>
                public object[] DeletedState
                {                              get ; private set ;
                }



Clone Instance
4
Line Count
10
Source Line
11
Source File
src/NHibernate/Event/PreInsertEvent.cs

                public PreInsertEvent(object entity, object id, object[] state, IEntityPersister persister, IEventSource source)
                        : base(source, entity, id, persister)
                {
                        State = state;
                }

                /// <summary> 
                /// These are the values to be inserted. 
                /// </summary>
                public object[] State
                {                       get ; private set ;
                }



Clone AbstractionParameter Count: 3Parameter Bindings

/// <summary> 
/// Constructs an event containing the pertinent information. 
/// </summary>
/// <param name="entity">The entity to be deleted. </param>
/// <param name="id">The id to use in the deletion. </param>
/// <param name="deletedState">The entity's state at deletion time. </param>
/// <param name="persister">The entity's persister. </param>
/// <param name="source">The session from which the event originated. </param>
public [[#variable6cfadd60]](object entity, object id, object[] [[#variable6cfadca0]], IEntityPersister persister, IEventSource source): base(source, entity, id, persister)
{
    [[#variable6cfadc20]]= [[#variable6cfadca0]];
}

/// <summary> 
/// These are the values to be inserted. 
/// This is the entity state at the
/// time of deletion (useful for optomistic locking and such). 
/// </summary>
public object[] [[#variable6cfadc20]]
{
   get ;
   private set ;
}

 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#6cfadd60]]
PreInsertEvent 
12[[#6cfadd60]]
PreDeleteEvent 
13[[#6cfadd60]]
PostInsertEvent 
14[[#6cfadd60]]
PostDeleteEvent 
21[[#6cfadca0]]
state 
22[[#6cfadca0]]
deletedState 
23[[#6cfadca0]]
state 
24[[#6cfadca0]]
deletedState 
31[[#6cfadc20]]
State 
32[[#6cfadc20]]
DeletedState 
33[[#6cfadc20]]
State 
34[[#6cfadc20]]
DeletedState