Ejemplo n.º 1
0
 /// <summary>
 /// Instantiates an object with the provided <see cref="ComparingSettings"/>.
 /// </summary>
 /// <param name="settings">The settings used to diff the elements in the mapper.</param>
 /// <param name="rightSetSize">The number of elements in the right set to compare.</param>
 public MemberMapper(ComparingSettings settings, TypeMapper containingType, int rightSetSize = 1)
     : base(settings, rightSetSize)
 {
     ContainingType = containingType;
 }
Ejemplo n.º 2
0
 /// <summary>
 /// Instantiates an object with the provided <see cref="ComparingSettings"/>.
 /// </summary>
 /// <param name="settings">The settings used to diff the elements in the mapper.</param>
 /// <param name="rightSetSize">The number of elements in the right set to compare.</param>
 public TypeMapper(ComparingSettings settings, TypeMapper containingType = null, int rightSetSize = 1)
     : base(settings, rightSetSize)
 {
     _containingType = containingType;
 }