示例#1
0
 public SiteAddressDto(long siteId, string addressLine1, string addressLine2, string addressLine3, string addressLine4, string address5, string county, string postCode, string telephone, ContactDto siteAddress)
 {
     SiteId = siteId;   
     AddressLine1 = addressLine1;
     AddressLine2 = addressLine2;
     AddressLine3 = addressLine3;
     AddressLine4 = addressLine4;
     AddressLine5 = address5;
     County = county;
     Postcode = postCode;
     Telephone = telephone;
     SiteAddress = siteAddress;
 }
 public SiteAddressDtoBuilder WithSiteContact(ContactDto contactDto)
 {
     _contactDto = contactDto;
     return this;
 }
 public SiteAddressDtoBuilder WithContactName(string contactName)
 {
     _contactName = contactName;
     _contactDto = new ContactDto { ContactName = _contactName };
     return this;
 }