File tree Expand file tree Collapse file tree 1 file changed +5
-4
lines changed
src/Regula.DocumentReader.WebClient/Model Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -35,7 +35,7 @@ public partial class AreaArray : IEquatable<AreaArray>, IValidatableObject
35
35
/// </summary>
36
36
/// <param name="list">list.</param>
37
37
/// <param name="points">points.</param>
38
- public AreaArray ( List < RectangleCoordinates > list = default ( List < RectangleCoordinates > ) , PointArray points = default ( PointArray ) )
38
+ public AreaArray ( List < RectangleCoordinates > list = default ( List < RectangleCoordinates > ) , List < PointArray > points = default ( List < PointArray > ) )
39
39
{
40
40
this . List = list ;
41
41
this . Points = points ;
@@ -51,7 +51,7 @@ public partial class AreaArray : IEquatable<AreaArray>, IValidatableObject
51
51
/// Gets or Sets Points
52
52
/// </summary>
53
53
[ DataMember ( Name = "Points" , EmitDefaultValue = false ) ]
54
- public PointArray Points { get ; set ; }
54
+ public List < PointArray > Points { get ; set ; }
55
55
56
56
/// <summary>
57
57
/// Returns the string presentation of the object
@@ -105,8 +105,9 @@ public bool Equals(AreaArray input)
105
105
) &&
106
106
(
107
107
this . Points == input . Points ||
108
- ( this . Points != null &&
109
- this . Points . Equals ( input . Points ) )
108
+ this . Points != null &&
109
+ input . Points != null &&
110
+ this . Points . SequenceEqual ( input . Points )
110
111
) ;
111
112
}
112
113
You can’t perform that action at this time.
0 commit comments