Class ConditionBase
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.0Syntax
public class ConditionBase
Constructors
ConditionBase()
Initializes a new instance of the ConditionBase class.
Declaration
public ConditionBase()
ConditionBase(XmlNode)
Initializes a new instance of the ConditionBase class.
Declaration
public ConditionBase(XmlNode node)
Parameters
Type | Name | Description |
---|---|---|
System.Xml.XmlNode | node | The node. |
Properties
IsRequired
Gets or sets a value indicating whether this instance is required.
Declaration
public bool IsRequired { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
|
ObjectName
Gets or sets the name of the object.
Declaration
public string ObjectName { get; set; }
Property Value
Type | Description |
---|---|
System.String | The name of the object. |
Methods
GetProperty(Object, String)
Gets the property.
Declaration
public static PropertyInfo GetProperty(object source, string propName)
Parameters
Type | Name | Description |
---|---|---|
System.Object | source | The source. |
System.String | propName | Name of the prop. |
Returns
Type | Description |
---|---|
System.Reflection.PropertyInfo |