Class PropertyCondition

Inheritance
System.Object
PropertyCondition
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Mediachase.Commerce.Marketing.Validators
Assembly: Mediachase.Commerce.Marketing.Validators.dll
Version: 10.8.0
Syntax
public class PropertyCondition : ConditionBase

Constructors

PropertyCondition()

Initializes a new instance of the PropertyCondition class.

Declaration
public PropertyCondition()

PropertyCondition(XmlNode)

Initializes a new instance of the PropertyCondition class.

Declaration
public PropertyCondition(XmlNode node)
Parameters
Type Name Description
System.Xml.XmlNode node

The node.

Properties

Operator

Gets or sets the operator.

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

The operator.

PropertyName

Gets or sets the name of the property.

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

The name of the property.

PropertyValue

Gets or sets the property value.

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

The property value.

Methods

Eval(Dictionary<String, Object>)

Evals the specified context.

Declaration
public bool Eval(Dictionary<string, object> context)
Parameters
Type Name Description
System.Collections.Generic.Dictionary<System.String, System.Object> context

The context.

Returns
Type Description
System.Boolean