Table of Contents

Class VariantGroupPropertyValueKey

Namespace
Dynamicweb.Ecommerce.Variants
Assembly
Dynamicweb.Ecommerce.dll

Identifies a variant group option property value by option, property and language.

public sealed class VariantGroupPropertyValueKey : IEquatable<VariantGroupPropertyValueKey>
Inheritance
VariantGroupPropertyValueKey
Implements
Inherited Members

Constructors

VariantGroupPropertyValueKey(string, string, string)

Initializes a new instance of the VariantGroupPropertyValueKey class.

public VariantGroupPropertyValueKey(string optionId, string propertyId, string languageId)

Parameters

optionId string

The option id.

propertyId string

The property id.

languageId string

The language id.

Exceptions

ArgumentNullException

optionId, propertyId or languageId is null.

Properties

LanguageId

Gets the language id.

public string LanguageId { get; }

Property Value

string

OptionId

Gets the option id.

public string OptionId { get; }

Property Value

string

PropertyId

Gets the property id.

public string PropertyId { get; }

Property Value

string

Methods

Equals(VariantGroupPropertyValueKey?)

Determines whether the specified key is equal to the current key. Comparison is case-insensitive.

public bool Equals(VariantGroupPropertyValueKey? other)

Parameters

other VariantGroupPropertyValueKey

The key to compare with the current key.

Returns

bool

true if the keys are equal; 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.

To top