Exemplo n.º 1
0
        /// <summary>
        /// Constructs the condition with left value
        /// </summary>
        /// <param name="joinOperator">The join operator</param>
        /// <param name="leftValue">The left value</param>
        public BooleanCondition
        (
            BooleanConditionOperator joinOperator,
            BooleanConditionValue leftValue
        )

            : this(leftValue)
        {
            this.JoinOperator = joinOperator;
        }
Exemplo n.º 2
0
        /// <summary>
        /// Constructs the condition with left and right values
        /// </summary>
        /// <param name="joinOperator">The join operator</param>
        /// <param name="leftValue">The left value</param>
        /// <param name="compareOperator">The compare operator</param>
        /// <param name="rightValue">The right value</param>
        public BooleanCondition
        (
            BooleanConditionOperator joinOperator,
            BooleanConditionValue leftValue,
            BooleanConditionOperator compareOperator,
            BooleanConditionValue rightValue
        )

            : this(leftValue, compareOperator, rightValue)
        {
            this.JoinOperator = joinOperator;
        }
Exemplo n.º 3
0
        /// <summary>
        /// Constructs the condition with left and right values
        /// </summary>
        /// <param name="leftValue">The left value</param>
        /// <param name="compareOperator">The compare operator</param>
        /// <param name="rightValue">The right value</param>
        public BooleanCondition
        (
            BooleanConditionValue leftValue,
            BooleanConditionOperator compareOperator,
            BooleanConditionValue rightValue
        )
        {
            Validate.IsNotNull(leftValue);
            Validate.IsNotNull(rightValue);

            this.LeftValue       = leftValue;
            this.CompareOperator = compareOperator;
            this.RightValue      = rightValue;
        }