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
optionIdstringThe option id.
propertyIdstringThe property id.
languageIdstringThe language id.
Exceptions
- ArgumentNullException
optionId,propertyIdorlanguageIdis null.
Properties
LanguageId
Gets the language id.
public string LanguageId { get; }
Property Value
OptionId
Gets the option id.
public string OptionId { get; }
Property Value
PropertyId
Gets the property id.
public string PropertyId { get; }
Property Value
Methods
Equals(VariantGroupPropertyValueKey?)
Determines whether the specified key is equal to the current key. Comparison is case-insensitive.
public bool Equals(VariantGroupPropertyValueKey? other)
Parameters
otherVariantGroupPropertyValueKeyThe key to compare with the current key.
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.