コード例 #1
0
 /// <summary>
 /// Initializes a new instance of the LocationExtension class
 /// </summary>
 /// <param name="ls">The Location Street for the address</param>
 public LocationExtension(LocationStreet ls)
 {
     Address = new Address(ls);
 }
コード例 #2
0
        /// <summary>
        /// Creates an address with the given value and sets it
        /// </summary>
        /// <param name="ls">The Associated Location Street Object</param>
        /// <param name="city">(Optional) The city</param>
        /// <param name="state">(Optional) The State</param>
        /// <param name="country">(Optional) The country</param>
        /// <param name="postCode">(Optional) The Postal Code</param>
        public void setAddress(LocationStreet ls, string city = null, USStateCodeList?state = null, CountryCodeList?country = null, string postCode = null)
        {
            Address a = new Address(ls, city, state, country, postCode);

            setAddress(a);
        }