コード例 #1
0
        /// <summary>
        /// Appends the specified operator and <see cref="IMdxExpression"/> to the
        /// end of expression and returns the updated current <see cref="MdxExpression"/>.
        /// </summary>
        /// <param name="operationOperator">Appended operation operator.</param>
        /// <param name="operand">Appended <see cref="IMdxExpression"/>.</param>
        /// <returns>Returns the updated current <see cref="MdxExpression"/>.</returns>
        public MdxExpression WithOperation(string operationOperator, IMdxExpression operand)
        {
            _operators.Add(operationOperator);
            _operands.Add(operand);

            return(this);
        }
コード例 #2
0
        /// <summary>
        /// Appends the specified operator and <see cref="IMdxExpression"/> to the 
        /// end of expression and returns the updated current <see cref="MdxExpression"/>.
        /// </summary>
        /// <param name="operationOperator">Appended operation operator.</param>
        /// <param name="operand">Appended <see cref="IMdxExpression"/>.</param>
        /// <returns>Returns the updated current <see cref="MdxExpression"/>.</returns>
        public MdxExpression WithOperation(string operationOperator, IMdxExpression operand)
        {
            _operators.Add(operationOperator);
            _operands.Add(operand);

            return this;
        }
コード例 #3
0
 /// <summary>
 /// Appends the <see cref="IMdxExpression"/> to the end of expression and 
 /// returns the updated current <see cref="MdxExpression"/>.
 /// </summary>
 /// <param name="operand">Appended <see cref="IMdxExpression"/>.</param>
 /// <returns>Returns the updated current <see cref="MdxExpression"/>.</returns>
 public MdxExpression WithOperand(IMdxExpression operand)
 {
     _operands.Add(operand);
     return this;
 }
コード例 #4
0
 /// <summary>
 /// Appends the <see cref="IMdxExpression"/> to the end of expression and
 /// returns the updated current <see cref="MdxExpression"/>.
 /// </summary>
 /// <param name="operand">Appended <see cref="IMdxExpression"/>.</param>
 /// <returns>Returns the updated current <see cref="MdxExpression"/>.</returns>
 public MdxExpression WithOperand(IMdxExpression operand)
 {
     _operands.Add(operand);
     return(this);
 }
コード例 #5
0
 public MdxDeclaration As(MdxTuple expression)
 {
     Expression = expression;
     return(this);
 }