コード例 #1
0
 /// <summary>
 /// will allow you to write queries on Comment.
 /// </summary>
 public NodeQuery onComment(CommentDelegate buildQuery)
 {
     Query.Append("...on Comment{");
     buildQuery(new CommentQuery(Query));
     Query.Append("}");
     return(this);
 }
コード例 #2
0
        /// <summary>
        /// The item at the end of CommentEdge.
        /// </summary>
        public CommentEdgeQuery node(CommentDelegate buildQuery)
        {
            Query.Append("node ");

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

            return(this);
        }