Class CountryKey
- Namespace
- Dynamicweb.Ecommerce.International
- Assembly
- Dynamicweb.Ecommerce.dll
The country key
[Serializable]
public sealed class CountryKey : IEquatable<CountryKey>
- Inheritance
-
CountryKey
- Implements
- Inherited Members
Constructors
CountryKey(string, string)
public CountryKey(string code2, string regionCode)
Parameters
Properties
Code2
The Code2.
public string Code2 { get; }
Property Value
RegionCode
The region code.
public string RegionCode { get; }
Property Value
Methods
Equals(CountryKey)
Determines whether the specified CountryKey is equal to this instance.
public bool Equals(CountryKey other)
Parameters
other
CountryKey- The CountryKey to compare with this instance.
Returns
- bool
true
if the specified CountryKey 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()