Class AddressComparator
Inheritance
System.Object
AddressComparator
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: NFX.Web.Shipping
Assembly: NFX.Web.dll
Syntax
public static class AddressComparator
Methods
AddressLinesAreSimilar(String, String)
Declaration
public static bool AddressLinesAreSimilar(string fAddr, string sAddr)
Parameters
Type | Name | Description |
---|---|---|
System.String | fAddr | |
System.String | sAddr |
Returns
Type | Description |
---|---|
System.Boolean |
AreSimilar(Address, Address)
Declaration
public static bool AreSimilar(Address first, Address second)
Parameters
Type | Name | Description |
---|---|---|
Address | first | |
Address | second |
Returns
Type | Description |
---|---|
System.Boolean |
GetPostalMainPart(String)
Declaration
public static string GetPostalMainPart(string postal)
Parameters
Type | Name | Description |
---|---|---|
System.String | postal |
Returns
Type | Description |
---|---|
System.String |
RegionAndPostalAreSimilar(Address, Address)
Declaration
public static bool RegionAndPostalAreSimilar(Address first, Address second)
Parameters
Type | Name | Description |
---|---|---|
Address | first | |
Address | second |
Returns
Type | Description |
---|---|
System.Boolean |