Cleaning up the Address ValueObject
This commit is contained in:
parent
18af108cd6
commit
16ee563112
@ -25,6 +25,7 @@ namespace Microsoft.eShopOnContainers.Services.Ordering.Domain.AggregatesModel.O
|
|||||||
|
|
||||||
protected override IEnumerable<object> GetAtomicValues()
|
protected override IEnumerable<object> GetAtomicValues()
|
||||||
{
|
{
|
||||||
|
// Using a yield return statement to return each element one at a time
|
||||||
yield return Street;
|
yield return Street;
|
||||||
yield return City;
|
yield return City;
|
||||||
yield return State;
|
yield return State;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user