コード例 #1
0
        /// <summary>
        /// The authors who have contributed to the blog.
        /// </summary>
        public BlogQuery authors(ArticleAuthorDelegate buildQuery)
        {
            Query.Append("authors ");

            Query.Append("{");
            buildQuery(new ArticleAuthorQuery(Query));
            Query.Append("}");

            return(this);
        }
コード例 #2
0
        /// \deprecated Use `authorV2` instead
        /// <summary>
        /// The article's author.
        /// </summary>
        public ArticleQuery author(ArticleAuthorDelegate buildQuery)
        {
            Log.DeprecatedQueryField("Article", "author", "Use `authorV2` instead");

            Query.Append("author ");

            Query.Append("{");
            buildQuery(new ArticleAuthorQuery(Query));
            Query.Append("}");

            return(this);
        }