Share via


FilterQueryValidator.ValidateUnaryOperatorNode Method (UnaryOperatorNode, ODataValidationSettings)

 

Override this method to validate the Not operator.

Namespace:   System.Web.OData.Query.Validators
Assembly:  System.Web.OData (in System.Web.OData.dll)

Syntax

public virtual void ValidateUnaryOperatorNode(
    UnaryOperatorNode unaryOperatorNode,
    ODataValidationSettings settings
)
public:
virtual void ValidateUnaryOperatorNode(
    UnaryOperatorNode^ unaryOperatorNode,
    ODataValidationSettings^ settings
)
abstract ValidateUnaryOperatorNode : 
        unaryOperatorNode:UnaryOperatorNode *
        settings:ODataValidationSettings -> unit
override ValidateUnaryOperatorNode : 
        unaryOperatorNode:UnaryOperatorNode *
        settings:ODataValidationSettings -> unit
Public Overridable Sub ValidateUnaryOperatorNode (
    unaryOperatorNode As UnaryOperatorNode,
    settings As ODataValidationSettings
)

Parameters

Remarks

This method is intended to be called from method overrides in subclasses. This method also supports unit-testing scenarios and is not intended to be called from user code. Call the Validate method to validate a FilterQueryOption instance.

See Also

FilterQueryValidator Class
System.Web.OData.Query.Validators Namespace

Return to top