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
Properties
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
otherCountryRelationKeyThe CountryRelationKey to compare with this instance.
Returns
- bool
trueif 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? obj)
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.
Parse(string)
Parses the identification string and returns the CountryRelationKey.
public static CountryRelationKey? Parse(string countryRelationKey)
Parameters
countryRelationKeystringThe country relation key identification string.
Returns
ToString()
Returns a string representation of this instance.
public override string ToString()