コード例 #1
0
ファイル: MemberMapper.cs プロジェクト: vitek-karas/sdk
 /// <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;
 }
コード例 #2
0
ファイル: TypeMapper.cs プロジェクト: vitek-karas/sdk
 /// <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;
 }