コード例 #1
0
ファイル: JqlBuilder.cs プロジェクト: Tdue21/JiraClient.NET
 public JqlKeyword addCondition(EField field, EOperator eoperator, String operand)
 {
     JqlKeyword jqlKeyword = new JqlKeyword();
     jqlKeyword.jqlbuilder = this;
     if (field != null)
     {
         jql.Append(field.ToString() + " ");
     }
     if (eoperator != null)
     {
         jql.Append(eoperator.ToString() + " ");
     }
     if (operand != null)
     {
         jql.Append(operand + " ");
     }
     return jqlKeyword;
 }
コード例 #2
0
        public JqlKeyword addCondition(EField field, EOperator eoperator, String operand)
        {
            JqlKeyword jqlKeyword = new JqlKeyword();

            jqlKeyword.jqlbuilder = this;
            if (field != null)
            {
                jql.Append(field.ToString() + " ");
            }
            if (eoperator != null)
            {
                jql.Append(eoperator.ToString() + " ");
            }
            if (operand != null)
            {
                jql.Append(operand + " ");
            }
            return(jqlKeyword);
        }
コード例 #3
0
        public JqlKeyword AddCondition(EField field, EOperator eoperator, String operand)
        {
            var jqlKeyword = new JqlKeyword {
                Jqlbuilder = this
            };

            if (field != null)
            {
                Jql.Append(field + " ");
            }
            if (eoperator != null)
            {
                Jql.Append(eoperator + " ");
            }
            if (operand != null)
            {
                Jql.Append(operand + " ");
            }
            return(jqlKeyword);
        }