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); }
/// <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); }
/// <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); }
/// <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)); }