StreamLink for Silverlight
Caplin.StreamLink.Subscription.Container.ExtendedParameters.Filtering Namespace
StreamLink for SilverlightCaplin.StreamLink.Subscription.Container.ExtendedParameters.Filtering
Containers interfaces, classes and enumerations related to generating filter expressions for IExtendedContainerSubscription which support additional parameters to permit container to be sorted and filtered according to the requirements of the display.
Declaration Syntax
C#Visual BasicVisual C++
namespace Caplin.StreamLink.Subscription.Container.ExtendedParameters.Filtering
Namespace Caplin.StreamLink.Subscription.Container.ExtendedParameters.Filtering
namespace Caplin.StreamLink.Subscription.Container.ExtendedParameters.Filtering
Types
All TypesInterfacesEnumerations
IconTypeDescription
FieldFilterExpressionOperator
Enumeration defining the operators that are available for an IFieldFilterExpression.

IFieldFilterExpression
Represents an expression for filtering the records in a container, based on the value of a record field. The expression takes the form <fieldname> <operator> <value> (for example, bid GreaterThan 5).

IFilterExpression
Represents an expression of filtering the records in a container based on the value of a record field. The expression takes the form <fieldname> <operator > <value> (for example <bid GreaterThan 5>)

ILogicalFilterExpression

Represents a compound filter expression for container records consisting of a collection of IFieldFilterExpression.

A Compound filter expression takes the form <IFilterExpression><LogicalFilterExpressionOperator><IFilterExpression>

[<IFilterExpression><LogicalFilterExpressionOperator><IFilterExpression>...]

For example:

(bid > 5) AND (ask < 6)

or

(bid > 5) AND (ask < 6) AND (coupon >= 3)

Note: Every occurrence of LogicalFilterExpressionOperator in the filter is of the same type: that is AND or OR only.


LogicalFilterExpressionOperator
Enumeration defining the logical operations that can be used in an ILogicalFilterExpression.