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
CountryRelationKey(string, string, string)
[Obsolete("Use the overload without languageId")]
public CountryRelationKey(string methodType, string methodId, string languageId)
Parameters
Properties
LanguageId
Gets or sets the language id.
[Obsolete("Is not used anymore.")]
public string LanguageId { get; set; }
Property Value
MethodId
Gets or sets the MethodId.
public string MethodId { get; }
Property Value
MethodType
Gets or sets the MethodType.
public string MethodType { get; }
Property Value
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
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()