Table of Contents

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

code2 string
regionCode string

Properties

Code2

The Code2.
public string Code2 { get; }

Property Value

string

RegionCode

The region code.
public string RegionCode { get; }

Property Value

string

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

other object
The object to compare with this instance.

Returns

bool
true if the specified object is equal to this instance; otherwise, false.

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()

Returns

string
To top