public ILocation create_location_using(IUnitedNationsLocationCode the_united_nations_location_code, ILocationName the_location_name)
        {
            if (the_united_nations_location_code == null)
                throw new ArgumentNullException("the_united_nations_location_code", "Invariant Violated: a valid United Nations location code is required in order to construct a location.");

            if (the_location_name == null)
                throw new ArgumentNullException("the_location_name", "Invariant Violated: a valid location name is required in order to construct a location.");

            return new Location(the_united_nations_location_code, the_location_name);
        }
 public bool has_the_same_value_as(IUnitedNationsLocationCode the_other_value_object)
 {
     throw new NotImplementedException();
 }
Beispiel #3
0
 internal Location(IUnitedNationsLocationCode the_united_nations_location_code, ILocationName the_injected_location_name)
 {
     underlying_united_nations_location_code = the_united_nations_location_code;
     underlying_location_name = the_injected_location_name;
 }