Class RelatedProductKey
- Namespace
- Dynamicweb.Ecommerce.Products
- Assembly
- Dynamicweb.Ecommerce.dll
[Serializable]
public sealed class RelatedProductKey : IEquatable<RelatedProductKey>
- Inheritance
-
RelatedProductKey
- Implements
- Inherited Members
Constructors
RelatedProductKey(string, string, string, string)
public RelatedProductKey(string productId, string relatedGroupId, string productRelatedId, string productRelatedVariantId)
Parameters
Properties
ProductId
public string ProductId { get; set; }
Property Value
ProductRelatedId
public string ProductRelatedId { get; set; }
Property Value
ProductRelatedVariantId
public string ProductRelatedVariantId { get; set; }
Property Value
RelatedGroupId
public string RelatedGroupId { get; set; }
Property Value
Methods
Equals(RelatedProductKey?)
Indicates whether the current object is equal to another object of the same type.
public bool Equals(RelatedProductKey? other)
Parameters
otherRelatedProductKeyAn object to compare with this object.
Returns
Equals(object?)
Determines whether the specified object is equal to the current object.
public override bool Equals(object? obj)
Parameters
objobjectThe object to compare with the current object.
Returns
GetHashCode()
Serves as the default hash function.
public override int GetHashCode()
Returns
- int
A hash code for the current object.
Parse(string)
public static RelatedProductKey? Parse(string key)
Parameters
keystring
Returns
ToString()
Returns a string that represents the current object.
public override string ToString()
Returns
- string
A string that represents the current object.