Class FilterExpressionProvider

Represents base filter element provider.

Namespace: Mediachase.BusinessFoundation
Assembly: Mediachase.BusinessFoundation.dll
Version: 10.8.0
Syntax
public abstract class FilterExpressionProvider : ProviderBase

Constructors

FilterExpressionProvider()

Initializes a new instance of the FilterExpressionProvider class.

Declaration
public FilterExpressionProvider()

Properties

DataSource

Gets or sets the data source.

Declaration
public virtual object DataSource { get; set; }
Property Value
Type Description
System.Object

The data source.

Methods

GetElementConditions(String, FilterExpressionNode)

Gets the element conditions.

Declaration
public abstract ConditionElementCollection GetElementConditions(string expressionPlace, FilterExpressionNode node)
Parameters
Type Name Description
System.String expressionPlace

The expression place.

FilterExpressionNode node

The node.

Returns
Type Description
ConditionElementCollection

GetElementMethods(String, FilterExpressionNode)

Gets the element conditions.

Declaration
public abstract MethodElementCollection GetElementMethods(string expressionPlace, FilterExpressionNode node)
Parameters
Type Name Description
System.String expressionPlace

The expression place.

FilterExpressionNode node

The node.

Returns
Type Description
MethodElementCollection

GetNewElements(String, FilterExpressionNode)

Gets the new elements.

Declaration
public abstract FilterExpressionNodeCollection GetNewElements(string expressionPlace, FilterExpressionNode parent)
Parameters
Type Name Description
System.String expressionPlace
FilterExpressionNode parent
Returns
Type Description
FilterExpressionNodeCollection

LoadFilters(String, String)

Loads the filters.

Declaration
public abstract FilterExpressionNodeCollection LoadFilters(string expressionPlace, string expressionKey)
Parameters
Type Name Description
System.String expressionPlace

The expression place.

System.String expressionKey

The expression key.

Returns
Type Description
FilterExpressionNodeCollection

SaveFilters(String, String, FilterExpressionNodeCollection)

Saves the filters.

Declaration
public abstract void SaveFilters(string expressionPlace, string expressionKey, FilterExpressionNodeCollection filters)
Parameters
Type Name Description
System.String expressionPlace

The expression place.

System.String expressionKey

The expression key.

FilterExpressionNodeCollection filters

The filters.