internal void OnSerialized(StreamingContext content) { if (SpecialRestrictions == null) { SpecialRestrictions = new List <SpecialRestriction>(); } if (AddressRestrictions == null) { AddressRestrictions = new AddressRestrictions(); } }
public DeliverySpecifications() { SpecialRestrictions = new List <SpecialRestriction>(); AddressRestrictions = new AddressRestrictions(); }