Class AddressFormatKey
- Namespace
- Dynamicweb.Ecommerce.International
- Assembly
- Dynamicweb.Ecommerce.dll
Address format key
[Serializable]
public sealed class AddressFormatKey : IEquatable<AddressFormatKey>
- Inheritance
-
AddressFormatKey
- Implements
- Inherited Members
Constructors
AddressFormatKey(string, AddressFormatType)
Initializes a new instance of the class
public AddressFormatKey(string countryCode, AddressFormatType formatType)
Parameters
countryCode
stringCountry code
formatType
AddressFormatTypeAddress format type
Properties
CountryCode
Country code
public string CountryCode { get; }
Property Value
FormatType
Address format type
public AddressFormatType FormatType { get; }
Property Value
Methods
Equals(AddressFormatKey)
Determines whether the specified AddressFormatKey is equal to this instance.
public bool Equals(AddressFormatKey other)
Parameters
other
AddressFormatKeyThe AddressFormatKey to compare with this instance.
Returns
- bool
true
if the specified AddressFormatKey is equal to this instance; otherwise,false
.
Equals(object)
Determines whether the specified object is equal to this instance.
public override bool Equals(object other)
Parameters
Returns
GetHashCode()
Returns a hash code for this instance.
public override int GetHashCode()
Returns
- int
A hash code for this instance, suitable for use in hashing algorithms and data structures like a hash table.
ToString()
Returns a string representation of this instance.
public override string ToString()