コード例 #1
0
 /// <summary>
 /// will allow you to write queries on ShopPolicy.
 /// </summary>
 public NodeQuery onShopPolicy(ShopPolicyDelegate buildQuery)
 {
     Query.Append("...on ShopPolicy{");
     buildQuery(new ShopPolicyQuery(Query));
     Query.Append("}");
     return(this);
 }
コード例 #2
0
        /// <summary>
        /// The shop’s terms of service.
        /// </summary>
        public ShopQuery termsOfService(ShopPolicyDelegate buildQuery)
        {
            Query.Append("termsOfService ");

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

            return(this);
        }
コード例 #3
0
        /// <summary>
        /// The shop’s refund policy.
        /// </summary>
        public ShopQuery refundPolicy(ShopPolicyDelegate buildQuery)
        {
            Query.Append("refundPolicy ");

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

            return(this);
        }