Closed jozefizso closed 4 years ago
Two Settings objects can be compared with IsEqualTo() method.
Settings
IsEqualTo()
When they differ in the EnableSafeMode value only, they are considered equal.
EnableSafeMode
https://github.com/NetOfficeFw/NetOffice/blob/f2e3dcdb670338fea874a4b832e2d26ff3f27ec5/Source/NetOffice/Settings.cs#L551-L553
The method has also a bug which makes Settings object equal to null value.
null
https://github.com/NetOfficeFw/NetOffice/blob/f2e3dcdb670338fea874a4b832e2d26ff3f27ec5/Source/NetOffice/Settings.cs#L534-L535
Two
Settings
objects can be compared withIsEqualTo()
method.When they differ in the
EnableSafeMode
value only, they are considered equal.https://github.com/NetOfficeFw/NetOffice/blob/f2e3dcdb670338fea874a4b832e2d26ff3f27ec5/Source/NetOffice/Settings.cs#L551-L553