Table of Contents

Class CountryRelationKey

Namespace
Dynamicweb.Ecommerce.International
Assembly
Dynamicweb.Ecommerce.dll
The country relation key
[Serializable]
public sealed class CountryRelationKey : IEquatable<CountryRelationKey>
Inheritance
CountryRelationKey
Implements
Inherited Members

Constructors

CountryRelationKey(string, string)

public CountryRelationKey(string methodType, string methodId)

Parameters

methodType string
methodId string

CountryRelationKey(string, string, string)

[Obsolete("Use the overload without languageId")]
public CountryRelationKey(string methodType, string methodId, string languageId)

Parameters

methodType string
methodId string
languageId string

Properties

LanguageId

Gets or sets the language id.
[Obsolete("Is not used anymore.")]
public string LanguageId { get; set; }

Property Value

string

MethodId

Gets or sets the MethodId.
public string MethodId { get; }

Property Value

string

MethodType

Gets or sets the MethodType.
public string MethodType { get; }

Property Value

string

Methods

Equals(CountryRelationKey)

Determines whether the specified CountryRelationKey is equal to this instance.
public bool Equals(CountryRelationKey other)

Parameters

other CountryRelationKey
The CountryRelationKey to compare with this instance.

Returns

bool
true if the specified CountryRelationKey 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