StreamLink.NET
CreateLogicalFilterExpression Method (oper)
StreamLink.NETCaplin.StreamLink.Subscription.Container.ExtendedParametersExtendedParametersFactoryCreateLogicalFilterExpression(LogicalFilterExpressionOperator)
Do not call this method, it is deprecated. Use CreateLogicalFilterExpression(LogicalFilterExpressionOperator). Creates a new logical filter expression that filters the records in the container based on the logical combination of two or more IFieldFilterExpressions
Declaration Syntax
C#Visual BasicVisual C++
[ObsoleteAttribute("Do not call this method, it is deprecated. Use Caplin.StreamLink.StreamLinkProvider.ParametersFactory.CreateLogicalFilterExpression.")]
public static ILogicalFilterExpression CreateLogicalFilterExpression(
	LogicalFilterExpressionOperator oper
)
<ObsoleteAttribute("Do not call this method, it is deprecated. Use Caplin.StreamLink.StreamLinkProvider.ParametersFactory.CreateLogicalFilterExpression.")> _
Public Shared Function CreateLogicalFilterExpression ( _
	oper As LogicalFilterExpressionOperator _
) As ILogicalFilterExpression
[ObsoleteAttribute(L"Do not call this method, it is deprecated. Use Caplin.StreamLink.StreamLinkProvider.ParametersFactory.CreateLogicalFilterExpression.")]
public:
static ILogicalFilterExpression^ CreateLogicalFilterExpression(
	LogicalFilterExpressionOperator oper
)
Parameters
oper (LogicalFilterExpressionOperator)
The operator in the logical filter expression.
Return Value
A new ILogicialFilterExpression.
Remarks

After creating an ILogicalFilterExpression you must add at least two IFieldFilterExpressions to it by calling ILogicalFilterExpression.AddExpression().

Assume you have two IFieldExpressions specifying the field filters "(bid > 5)" and "(ask < 6)" respectively and you created the ILogicalFilterExpression with the AND operator. After you have added the two IFIeldFilterExpressions the resulting ILogicalFilterExpression represents the filter "(bid > 5) AND (ask < 6)"

Assembly: Caplin.StreamLink (Module: Caplin.StreamLink) Version: 5.0.23.0 (5.0.23.0)