November Happy Hour will be moved to Thursday December 5th.

Class FilterExpressionNodeCollection

Provides a strongly typed collection for FilterExpressionNode objects and implements the IHierarchicalEnumerable interface to support navigating through the collection.

Inheritance
System.Object
System.Collections.ObjectModel.Collection<FilterExpressionNode>
FilterExpressionNodeCollection
Implements
System.Collections.Generic.IList<FilterExpressionNode>
System.Collections.Generic.ICollection<FilterExpressionNode>
System.Collections.IList
System.Collections.ICollection
System.Collections.Generic.IReadOnlyList<FilterExpressionNode>
System.Collections.Generic.IReadOnlyCollection<FilterExpressionNode>
System.Collections.Generic.IEnumerable<FilterExpressionNode>
System.Web.UI.IHierarchicalEnumerable
System.Collections.IEnumerable
Inherited Members
System.Collections.ObjectModel.Collection<Mediachase.BusinessFoundation.FilterExpressionNode>.Add(Mediachase.BusinessFoundation.FilterExpressionNode)
System.Collections.ObjectModel.Collection<Mediachase.BusinessFoundation.FilterExpressionNode>.Clear()
System.Collections.ObjectModel.Collection<Mediachase.BusinessFoundation.FilterExpressionNode>.CopyTo(Mediachase.BusinessFoundation.FilterExpressionNode[], System.Int32)
System.Collections.ObjectModel.Collection<Mediachase.BusinessFoundation.FilterExpressionNode>.Contains(Mediachase.BusinessFoundation.FilterExpressionNode)
System.Collections.ObjectModel.Collection<Mediachase.BusinessFoundation.FilterExpressionNode>.GetEnumerator()
System.Collections.ObjectModel.Collection<Mediachase.BusinessFoundation.FilterExpressionNode>.IndexOf(Mediachase.BusinessFoundation.FilterExpressionNode)
System.Collections.ObjectModel.Collection<Mediachase.BusinessFoundation.FilterExpressionNode>.Insert(System.Int32, Mediachase.BusinessFoundation.FilterExpressionNode)
System.Collections.ObjectModel.Collection<Mediachase.BusinessFoundation.FilterExpressionNode>.Remove(Mediachase.BusinessFoundation.FilterExpressionNode)
System.Collections.ObjectModel.Collection<Mediachase.BusinessFoundation.FilterExpressionNode>.RemoveAt(System.Int32)
System.Collections.ObjectModel.Collection<Mediachase.BusinessFoundation.FilterExpressionNode>.System.Collections.IEnumerable.GetEnumerator()
System.Collections.ObjectModel.Collection<Mediachase.BusinessFoundation.FilterExpressionNode>.System.Collections.ICollection.CopyTo(System.Array, System.Int32)
System.Collections.ObjectModel.Collection<Mediachase.BusinessFoundation.FilterExpressionNode>.System.Collections.IList.get_Item(System.Int32)
System.Collections.ObjectModel.Collection<Mediachase.BusinessFoundation.FilterExpressionNode>.System.Collections.IList.set_Item(System.Int32, System.Object)
System.Collections.ObjectModel.Collection<Mediachase.BusinessFoundation.FilterExpressionNode>.System.Collections.IList.Add(System.Object)
System.Collections.ObjectModel.Collection<Mediachase.BusinessFoundation.FilterExpressionNode>.System.Collections.IList.Contains(System.Object)
System.Collections.ObjectModel.Collection<Mediachase.BusinessFoundation.FilterExpressionNode>.System.Collections.IList.IndexOf(System.Object)
System.Collections.ObjectModel.Collection<Mediachase.BusinessFoundation.FilterExpressionNode>.System.Collections.IList.Insert(System.Int32, System.Object)
System.Collections.ObjectModel.Collection<Mediachase.BusinessFoundation.FilterExpressionNode>.System.Collections.IList.Remove(System.Object)
System.Collections.ObjectModel.Collection<Mediachase.BusinessFoundation.FilterExpressionNode>.Count
System.Collections.ObjectModel.Collection<Mediachase.BusinessFoundation.FilterExpressionNode>.Items
System.Collections.ObjectModel.Collection<Mediachase.BusinessFoundation.FilterExpressionNode>.Item[System.Int32]
System.Collections.ObjectModel.Collection<Mediachase.BusinessFoundation.FilterExpressionNode>.System.Collections.Generic.ICollection<Mediachase.BusinessFoundation.FilterExpressionNode>.IsReadOnly
System.Collections.ObjectModel.Collection<Mediachase.BusinessFoundation.FilterExpressionNode>.System.Collections.ICollection.IsSynchronized
System.Collections.ObjectModel.Collection<Mediachase.BusinessFoundation.FilterExpressionNode>.System.Collections.ICollection.SyncRoot
System.Collections.ObjectModel.Collection<Mediachase.BusinessFoundation.FilterExpressionNode>.System.Collections.IList.Item[System.Int32]
System.Collections.ObjectModel.Collection<Mediachase.BusinessFoundation.FilterExpressionNode>.System.Collections.IList.IsReadOnly
System.Collections.ObjectModel.Collection<Mediachase.BusinessFoundation.FilterExpressionNode>.System.Collections.IList.IsFixedSize
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.BusinessFoundation
Assembly: Mediachase.BusinessFoundation.dll
Version: 13.30.0
Syntax
public class FilterExpressionNodeCollection : Collection<FilterExpressionNode>, IList<FilterExpressionNode>, ICollection<FilterExpressionNode>, IList, ICollection, IReadOnlyList<FilterExpressionNode>, IReadOnlyCollection<FilterExpressionNode>, IEnumerable<FilterExpressionNode>, IHierarchicalEnumerable, IEnumerable

Constructors

FilterExpressionNodeCollection()

Initializes a new instance of the FilterExpressionNodeCollection class.

Declaration
public FilterExpressionNodeCollection()

FilterExpressionNodeCollection(FilterExpressionNode[])

Initializes a new instance of the FilterExpressionNodeCollection class.

Declaration
public FilterExpressionNodeCollection(params FilterExpressionNode[] childNodes)
Parameters
Type Name Description
FilterExpressionNode[] childNodes

The child nodes.

FilterExpressionNodeCollection(FilterExpressionNodeCollection)

Initializes a new instance of the FilterExpressionNodeCollection class.

Declaration
public FilterExpressionNodeCollection(FilterExpressionNodeCollection childNodes)
Parameters
Type Name Description
FilterExpressionNodeCollection childNodes

The child nodes.

Properties

InnerParentNode

Gets the parent node.

Declaration
protected FilterExpressionNode InnerParentNode { get; }
Property Value
Type Description
FilterExpressionNode

The parent node.

Methods

AddRange(FilterExpressionNode[])

Adds the range.

Declaration
public virtual void AddRange(params FilterExpressionNode[] childNodes)
Parameters
Type Name Description
FilterExpressionNode[] childNodes

The child nodes.

AddRange(FilterExpressionNodeCollection)

Adds the range.

Declaration
public virtual void AddRange(FilterExpressionNodeCollection childNodes)
Parameters
Type Name Description
FilterExpressionNodeCollection childNodes

The child nodes.

ClearItems()

Removes all elements from the System.Collections.ObjectModel.Collection<T>.

Declaration
protected override void ClearItems()
Overrides
System.Collections.ObjectModel.Collection<Mediachase.BusinessFoundation.FilterExpressionNode>.ClearItems()

Find(String)

Finds the specified key.

Declaration
public FilterExpressionNode Find(string key)
Parameters
Type Name Description
System.String key

The key.

Returns
Type Description
FilterExpressionNode

Find(String, Boolean)

Finds the specified key.

Declaration
public FilterExpressionNode Find(string key, bool deep)
Parameters
Type Name Description
System.String key

The key.

System.Boolean deep

if set to true check ChildNodes recursion.

Returns
Type Description
FilterExpressionNode

GetHierarchyData(Object)

Returns a hierarchical data item for the specified enumerated item.

Declaration
public virtual IHierarchyData GetHierarchyData(object enumeratedItem)
Parameters
Type Name Description
System.Object enumeratedItem

The System.Object for which to return an System.Web.UI.IHierarchyData.

Returns
Type Description
System.Web.UI.IHierarchyData

An System.Web.UI.IHierarchyData instance that represents the System.Object passed to the System.Web.UI.IHierarchicalEnumerable.GetHierarchyData(System.Object) method.

InsertItem(Int32, FilterExpressionNode)

Inserts an element into the System.Collections.ObjectModel.Collection<T> at the specified index.

Declaration
protected override void InsertItem(int index, FilterExpressionNode item)
Parameters
Type Name Description
System.Int32 index

The zero-based index at which item should be inserted.

FilterExpressionNode item

The object to insert. The value can be null for reference types.

Overrides
System.Collections.ObjectModel.Collection<Mediachase.BusinessFoundation.FilterExpressionNode>.InsertItem(System.Int32, Mediachase.BusinessFoundation.FilterExpressionNode)
Exceptions
Type Condition
System.ArgumentOutOfRangeException

index is less than zero.-or-index is greater than System.Collections.ObjectModel.Collection<T>.Count.

RemoveItem(Int32)

Removes the element at the specified index of the System.Collections.ObjectModel.Collection<T>.

Declaration
protected override void RemoveItem(int index)
Parameters
Type Name Description
System.Int32 index

The zero-based index of the element to remove.

Overrides
System.Collections.ObjectModel.Collection<Mediachase.BusinessFoundation.FilterExpressionNode>.RemoveItem(System.Int32)
Exceptions
Type Condition
System.ArgumentOutOfRangeException

index is less than zero.-or-index is equal to or greater than System.Collections.ObjectModel.Collection<T>.Count.

SetItem(Int32, FilterExpressionNode)

Replaces the element at the specified index.

Declaration
protected override void SetItem(int index, FilterExpressionNode item)
Parameters
Type Name Description
System.Int32 index

The zero-based index of the element to replace.

FilterExpressionNode item

The new value for the element at the specified index. The value can be null for reference types.

Overrides
System.Collections.ObjectModel.Collection<Mediachase.BusinessFoundation.FilterExpressionNode>.SetItem(System.Int32, Mediachase.BusinessFoundation.FilterExpressionNode)
Exceptions
Type Condition
System.ArgumentOutOfRangeException

index is less than zero.-or-index is greater than System.Collections.ObjectModel.Collection<T>.Count.

Implements

System.Collections.Generic.IList<T>
System.Collections.Generic.ICollection<T>
System.Collections.IList
System.Collections.ICollection
System.Collections.Generic.IReadOnlyList<T>
System.Collections.Generic.IReadOnlyCollection<T>
System.Collections.Generic.IEnumerable<T>
System.Web.UI.IHierarchicalEnumerable
System.Collections.IEnumerable