CloneSet997


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
8250.970class_member_declaration
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
1830
src/NHibernate/Properties/BasicPropertyAccessor.cs
2853
src/NHibernate/Properties/BasicPropertyAccessor.cs
Clone Instance
1
Line Count
8
Source Line
30
Source File
src/NHibernate/Properties/BasicPropertyAccessor.cs

                #region IPropertyAccessor Members
                /// <summary>
                /// Create a <see cref="BasicGetter"/> for the mapped property.
                /// </summary>
                /// <param name="type">The <see cref="System.Type"/> to find the Property in.</param>
                /// <param name="propertyName">The name of the mapped Property to get.</param>
                /// <returns>
                /// The <see cref="BasicGetter"/> to use to get the value of the Property from an
                /// instance of the <see cref="System.Type"/>.</returns>
                /// <exception cref="PropertyNotFoundException" >
                /// Thrown when a Property specified by the <c>propertyName</c> could not
                /// be found in the <see cref="System.Type"/>.
                /// </exception>
                public IGetter GetGetter(System.Type type, string propertyName)
                {
                        BasicGetter result = GetGetterOrNull(type, propertyName);
                        if (result == null)
                        {
                                throw new PropertyNotFoundException(type, propertyName, "getter");
                        }
                        return result;
                }



Clone Instance
2
Line Count
8
Source Line
53
Source File
src/NHibernate/Properties/BasicPropertyAccessor.cs

                /// <summary>
                /// Create a <see cref="BasicSetter"/> for the mapped property.
                /// </summary>
                /// <param name="type">The <see cref="System.Type"/> to find the Property in.</param>
                /// <param name="propertyName">The name of the mapped Property to get.</param>
                /// <returns>
                /// The <see cref="BasicSetter"/> to use to set the value of the Property on an
                /// instance of the <see cref="System.Type"/>.
                /// </returns>
                /// <exception cref="PropertyNotFoundException" >
                /// Thrown when a Property specified by the <c>propertyName</c> could not
                /// be found in the <see cref="System.Type"/>.
                /// </exception>
                public ISetter GetSetter(System.Type type, string propertyName)
                {
                        BasicSetter result = GetSetterOrNull(type, propertyName);
                        if (result == null)
                        {
                                throw new PropertyNotFoundException(type, propertyName, "setter");
                        }
                        return result;
                }



Clone AbstractionParameter Count: 5Parameter Bindings

#region IPropertyAccessor Members
/// <summary>
/// Create a <see cref="BasicSetter"/> for the mapped property.
/// Create a <see cref="BasicGetter"/> for the mapped property.
/// </summary>
/// <param name="type">The <see cref="System.Type"/> to find the Property in.</param>
/// <param name="propertyName">The name of the mapped Property to get.</param>
/// <returns>
/// The <see cref="BasicSetter"/> to use to set the value of the Property on an
/// instance of the <see cref="System.Type"/>.
/// </returns>
/// The <see cref="BasicGetter"/> to use to get the value of the Property from an
/// instance of the <see cref="System.Type"/>.</returns>
/// <exception cref="PropertyNotFoundException" >
/// Thrown when a Property specified by the <c>propertyName</c> could not
/// be found in the <see cref="System.Type"/>.
/// </exception>
public [[#variable5e4761a0]] [[#variable65295ba0]](System.Type type, string propertyName)
{
    [[#variable65294fe0]]result = [[#variable65295020]](type, propertyName);
   if (result == null)
   {
      throw new PropertyNotFoundException(type, propertyName, [[#variable5e4761c0]]);
   }
   return result;
}

 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#5e4761a0]]
ISetter 
12[[#5e4761a0]]
IGetter 
21[[#65295ba0]]
GetSetter 
22[[#65295ba0]]
GetGetter 
31[[#65294fe0]]
BasicSetter 
32[[#65294fe0]]
BasicGetter 
41[[#65295020]]
GetSetterOrNull 
42[[#65295020]]
GetGetterOrNull 
51[[#5e4761c0]]
"setter" 
52[[#5e4761c0]]
"getter"