Table of Contents

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

productId string
relatedGroupId string
productRelatedId string
productRelatedVariantId string

Properties

ProductId

public string ProductId { get; set; }

Property Value

string

ProductRelatedId

public string ProductRelatedId { get; set; }

Property Value

string

ProductRelatedVariantId

public string ProductRelatedVariantId { get; set; }

Property Value

string

RelatedGroupId

public string RelatedGroupId { get; set; }

Property Value

string

Methods

Equals(RelatedProductKey)

Indicates whether the current object is equal to another object of the same type.

public bool Equals(RelatedProductKey other)

Parameters

other RelatedProductKey

An object to compare with this object.

Returns

bool

true if the current object is equal to the other parameter; otherwise, false.

Equals(object)

Determines whether the specified object is equal to the current object.

public override bool Equals(object obj)

Parameters

obj object

The object to compare with the current object.

Returns

bool

true if the specified object is equal to the current object; otherwise, false.

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

key string

Returns

RelatedProductKey

ToString()

Returns a string that represents the current object.

public override string ToString()

Returns

string

A string that represents the current object.

To top