Removing unneeded blank lines on the ValueObject class
This commit is contained in:
parent
1b51865349
commit
0ca2faaaab
@ -14,16 +14,13 @@ namespace Microsoft.eShopOnContainers.Services.Ordering.Domain.SeedWork
|
|||||||
return ReferenceEquals(left, null) || left.Equals(right);
|
return ReferenceEquals(left, null) || left.Equals(right);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
protected static bool NotEqualOperator(ValueObject left, ValueObject right)
|
protected static bool NotEqualOperator(ValueObject left, ValueObject right)
|
||||||
{
|
{
|
||||||
return !(EqualOperator(left, right));
|
return !(EqualOperator(left, right));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
protected abstract IEnumerable<object> GetAtomicValues();
|
protected abstract IEnumerable<object> GetAtomicValues();
|
||||||
|
|
||||||
|
|
||||||
public override bool Equals(object obj)
|
public override bool Equals(object obj)
|
||||||
{
|
{
|
||||||
if (obj == null || obj.GetType() != GetType())
|
if (obj == null || obj.GetType() != GetType())
|
||||||
@ -47,7 +44,6 @@ namespace Microsoft.eShopOnContainers.Services.Ordering.Domain.SeedWork
|
|||||||
return !thisValues.MoveNext() && !otherValues.MoveNext();
|
return !thisValues.MoveNext() && !otherValues.MoveNext();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
public override int GetHashCode()
|
public override int GetHashCode()
|
||||||
{
|
{
|
||||||
return GetAtomicValues()
|
return GetAtomicValues()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user