Five New Optimizely Certifications are Here! Validate your expertise and advance your career with our latest certification exams. Click here to find out more

Class ConditionElement

Represents an condition element.

Inheritance
System.Object
ConditionElement
Namespace: EPiServer.Commerce.CustomViewSetting.Internal.FilterExpressions
Assembly: EPiServer.Business.Commerce.dll
Version: 14.26.0
Syntax
public class ConditionElement : Object

Constructors

ConditionElement(McDataType, String, String, String)

Initializes a new instance of the ConditionElement class.

Declaration
public ConditionElement(McDataType dataType, string dataFormatType, string key, string name)
Parameters
Type Name Description
McDataType dataType

The data type.

System.String dataFormatType

the data format type.

System.String key

The key.

System.String name

The name.

Properties

DataFormatType

Gets or sets the data format type.

Declaration
public string DataFormatType { get; set; }
Property Value
Type Description
System.String

The data format type.

DataType

Gets or sets the data type.

Declaration
public McDataType DataType { get; set; }
Property Value
Type Description
McDataType

The data type.

Items

Gets or sets the items.

Declaration
public ConditionSelectItemCollection Items { get; set; }
Property Value
Type Description
ConditionSelectItemCollection

The items.

Key

Gets or sets the key.

Declaration
public string Key { get; set; }
Property Value
Type Description
System.String

The key.

Name

Gets or sets the name.

Declaration
public string Name { get; set; }
Property Value
Type Description
System.String

The name.