protected override void Context()
        {
            var venueName = new LocationName(LOCATION_NAME);
            var address = new Address(STREET_NUMBER, STREET, CITY, POSTAL_CODE);
            var map = new LocationMap(new Uri(MAP_URI));
            var locationContact = new LocationContact(new ContactName(CONTACT_NAME),
                                                      new EmailAddress(EMAIL_ADDRESS),
                                                      new PhoneNumber(PHONE_NUMBER));

            location = new LocationFactory().Create(venueName, address, map, locationContact);
        }
Ejemplo n.º 2
0
 public Location Create(LocationName locationName, Address address, LocationMap map, LocationContact locationContact)
 {
     return new Location(locationName, address, map, locationContact);
 }
Ejemplo n.º 3
0
 public Location Create(LocationName locationName, Address address, LocationMap map, LocationContact locationContact)
 {
     return(new Location(locationName, address, map, locationContact));
 }