Пример #1
0
 /// <summary>
 /// Initializes an instance of <see cref="PropertyComparison{T}" />
 /// with the specified parameters.
 /// </summary>
 /// <param name="firstPropertyName">The name of the property on the first type.</param>
 /// <param name="secondPropertyName">The name of the property on the second type.</param>
 /// <param name="isPropertyEqual">The delegate that is invoked to evaluate whether the property is equal.</param>
 public PropertyComparison(string firstPropertyName, string secondPropertyName,
                           IsPropertyEqual isPropertyEqual) : base(firstPropertyName, secondPropertyName, isPropertyEqual)
 {
 }
Пример #2
0
 /// <summary>
 /// Initializes an instance of <see cref="PropertyComparison{T}" />
 /// with the specified parameters.
 /// </summary>
 /// <param name="propertyName">The name of the property. If its named differently on both types, use other constructor.</param>
 /// <param name="isPropertyEqual">The delegate that is invoked to evaluate whether the property is equal.</param>
 public PropertyComparison(string propertyName, IsPropertyEqual isPropertyEqual) : base(
         propertyName,
         isPropertyEqual)
 {
 }