Class FilterExpressionNode
Represents filter node.
Inheritance
Implements
Inherited Members
Namespace: Mediachase.BusinessFoundation
Assembly: Mediachase.BusinessFoundation.dll
Version: 13.30.0Syntax
public class FilterExpressionNode : ICloneable, IHierarchyData
Constructors
FilterExpressionNode()
Initializes a new instance of the FilterExpressionNode class.
Declaration
public FilterExpressionNode()
FilterExpressionNode(FilterExpressionNodeType, String)
Initializes a new instance of the FilterExpressionNode class.
Declaration
public FilterExpressionNode(FilterExpressionNodeType nodeType, string key)
Parameters
Type | Name | Description |
---|---|---|
FilterExpressionNodeType | nodeType | Type of the node. |
System.String | key | The key. |
FilterExpressionNode(FilterExpressionNodeType, String, String, ConditionElement, Object, String, NameValueCollection)
Initializes a new instance of the FilterExpressionNode class.
Declaration
public FilterExpressionNode(FilterExpressionNodeType nodeType, string key, string name, ConditionElement condition, object value, string description, NameValueCollection attributes)
Parameters
Type | Name | Description |
---|---|---|
FilterExpressionNodeType | nodeType | Type of the node. |
System.String | key | The key. |
System.String | name | The name. |
ConditionElement | condition | The condition. |
System.Object | value | The value. |
System.String | description | The description. |
System.Collections.Specialized.NameValueCollection | attributes | The attributes. |
FilterExpressionNode(String)
Initializes a new instance of the FilterExpressionNode class.
Declaration
public FilterExpressionNode(string key)
Parameters
Type | Name | Description |
---|---|---|
System.String | key | The key. |
FilterExpressionNode(String, String)
Initializes a new instance of the FilterExpressionNode class.
Declaration
public FilterExpressionNode(string key, string name)
Parameters
Type | Name | Description |
---|---|---|
System.String | key | The key. |
System.String | name | The name. |
FilterExpressionNode(String, String, ConditionElement, Object)
Initializes a new instance of the FilterExpressionNode class.
Declaration
public FilterExpressionNode(string key, string name, ConditionElement condition, object value)
Parameters
Type | Name | Description |
---|---|---|
System.String | key | The key. |
System.String | name | The name. |
ConditionElement | condition | The condition. |
System.Object | value | The value. |
FilterExpressionNode(String, String, ConditionElement, Object, String)
Initializes a new instance of the FilterExpressionNode class.
Declaration
public FilterExpressionNode(string key, string name, ConditionElement condition, object value, string description)
Parameters
Type | Name | Description |
---|---|---|
System.String | key | The key. |
System.String | name | The name. |
ConditionElement | condition | The condition. |
System.Object | value | The value. |
System.String | description | The description. |
FilterExpressionNode(String, String, ConditionElement, Object, String, NameValueCollection)
Initializes a new instance of the FilterExpressionNode class.
Declaration
public FilterExpressionNode(string key, string name, ConditionElement condition, object value, string description, NameValueCollection attributes)
Parameters
Type | Name | Description |
---|---|---|
System.String | key | The key. |
System.String | name | The name. |
ConditionElement | condition | The condition. |
System.Object | value | The value. |
System.String | description | The description. |
System.Collections.Specialized.NameValueCollection | attributes | The attributes. |
Fields
filterExpressionChildEnableKey
Declaration
public static readonly string filterExpressionChildEnableKey
Field Value
Type | Description |
---|---|
System.String |
Properties
Attributes
Gets or sets the attributes.
Declaration
public NameValueCollection Attributes { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Specialized.NameValueCollection | The attributes. |
ChildNodes
Gets or sets the child nodes.
Declaration
public virtual FilterExpressionNodeCollection ChildNodes { get; set; }
Property Value
Type | Description |
---|---|
FilterExpressionNodeCollection | The child nodes. |
Condition
Gets or sets the condition.
Declaration
public ConditionElement Condition { get; set; }
Property Value
Type | Description |
---|---|
ConditionElement | The condition. |
Description
Gets or sets the description.
Declaration
public virtual string Description { get; set; }
Property Value
Type | Description |
---|---|
System.String | The description. |
HasChildNodes
Gets a value indicating whether this instance has child nodes.
Declaration
public virtual bool HasChildNodes { get; }
Property Value
Type | Description |
---|---|
System.Boolean |
|
Item[String]
Gets or sets the System.String with the specified key.
Declaration
public virtual string this[string key] { get; set; }
Parameters
Type | Name | Description |
---|---|---|
System.String | key |
Property Value
Type | Description |
---|---|
System.String |
Key
Gets or sets the key.
Declaration
public string Key { get; set; }
Property Value
Type | Description |
---|---|
System.String | The key. |
Method
Declaration
public MethodElement Method { get; set; }
Property Value
Type | Description |
---|---|
MethodElement |
Name
Gets or sets the name.
Declaration
public string Name { get; set; }
Property Value
Type | Description |
---|---|
System.String | The name. |
NextSibling
Gets the next sibling.
Declaration
public virtual FilterExpressionNode NextSibling { get; }
Property Value
Type | Description |
---|---|
FilterExpressionNode | The next sibling. |
NodeType
Gets or sets the type of the node.
Declaration
public FilterExpressionNodeType NodeType { get; set; }
Property Value
Type | Description |
---|---|
FilterExpressionNodeType | The type of the node. |
ParentNode
Gets or sets the parent node.
Declaration
public virtual FilterExpressionNode ParentNode { get; set; }
Property Value
Type | Description |
---|---|
FilterExpressionNode | The parent node. |
PreviousSibling
Gets the previous sibling.
Declaration
public virtual FilterExpressionNode PreviousSibling { get; }
Property Value
Type | Description |
---|---|
FilterExpressionNode | The previous sibling. |
ReadOnly
Gets or sets a value indicating whether [read only].
Declaration
public bool ReadOnly { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
|
RootNode
Gets the root node.
Declaration
public virtual FilterExpressionNode RootNode { get; }
Property Value
Type | Description |
---|---|
FilterExpressionNode | The root node. |
Value
Gets or sets the value.
Declaration
public object Value { get; set; }
Property Value
Type | Description |
---|---|
System.Object | The value. |
Methods
Clone()
Creates a new object that is a copy of the current instance.
Declaration
public virtual FilterExpressionNode Clone()
Returns
Type | Description |
---|---|
FilterExpressionNode |
Clone(Boolean)
Creates a new object that is a copy of the current instance.
Declaration
public virtual FilterExpressionNode Clone(bool cloneParentNodes)
Parameters
Type | Name | Description |
---|---|---|
System.Boolean | cloneParentNodes | if set to |
Returns
Type | Description |
---|---|
FilterExpressionNode |
Explicit Interface Implementations
ICloneable.Clone()
Creates a new object that is a copy of the current instance.
Declaration
object ICloneable.Clone()
Returns
Type | Description |
---|---|
System.Object | A new object that is a copy of this instance. |