Automation.UI.Tree.QueryParts.QueryConditionPart.SetUnaryOperator C# (CSharp) Method

SetUnaryOperator() private method

Updates the active unary operator.
private SetUnaryOperator ( IUnaryOperator op ) : void
op IUnaryOperator The new operator.
return void
        internal void SetUnaryOperator(IUnaryOperator op)
        {
            if (UnaryOperator != null)
                throw new QueryConstructionException("Cannot set operator - Another unary operator is already active");

            UnaryOperator = op;
        }