예제 #1
0
        public string DisplayAddress(object unit, object street, object city, object region, object country, object postalCode)
        {
            var address = Null.NullString;

            try
            {
                address = Globals.FormatAddress(unit, street, city, region, country, postalCode);
            }
            catch (Exception exc) //Module failed to load
            {
                Exceptions.ProcessModuleLoadException(this, exc);
            }
            return(address);
        }
예제 #2
0
        /// <summary>
        /// DisplayAddress correctly formats an Address
        /// </summary>
        /// <remarks>
        /// </remarks>
        /// <history>
        ///     [cnurse]	9/17/2004	Updated to reflect design changes for Help, 508 support
        ///                       and localisation
        /// </history>
        public string DisplayAddress(object Unit, object Street, object City, object Region, object Country, object PostalCode)
        {
            string returnValue = String.Empty;

            try
            {
                returnValue = Globals.FormatAddress(Unit, Street, City, Region, Country, PostalCode);
            }
            catch (Exception exc)  //Module failed to load
            {
                Exceptions.ProcessModuleLoadException(this, exc);
            }
            return(returnValue);
        }
예제 #3
0
        /// <summary>
        /// DisplayAddress correctly formats an Address
        /// </summary>
        /// <remarks>
        /// </remarks>
        /// <history>
        ///     [cnurse]	9/10/2004	Updated to reflect design changes for Help, 508 support
        ///                       and localisation
        /// </history>
        public string DisplayAddress(object Unit, object Street, object City, object Region, object Country, object PostalCode)
        {
            string _Address = Null.NullString;

            try
            {
                _Address = Globals.FormatAddress(Unit, Street, City, Region, Country, PostalCode);
            }
            catch (Exception exc) //Module failed to load
            {
                Exceptions.ProcessModuleLoadException(this, exc);
            }
            return(_Address);
        }
예제 #4
0
 /// <summary>
 /// DisplayAddress correctly formats an Address
 /// </summary>
 public string DisplayAddress(object Unit, object Street, object City, object Region, object Country, object PostalCode)
 {
     return(Globals.FormatAddress(Unit, Street, City, Region, Country, PostalCode));
 }