示例#1
0
        /// <summary>
        /// Write the star token as URI part to this builder.
        /// </summary>
        /// <param name="star">To write as URI part.</param>
        protected virtual void WriteStar(StarQueryToken star)
        {
            ExceptionUtils.CheckArgumentNotNull(star, "star");

            if (star.Parent != null)
            {
                this.WriteQuery(star.Parent);
                this.builder.Append(ExpressionConstants.SymbolForwardSlash);
            }

            this.builder.Append(UriQueryConstants.Star);
        }
示例#2
0
        /// <summary>
        /// Write the star token as URI part to this builder.
        /// </summary>
        /// <param name="star">To write as URI part.</param>
        protected virtual void WriteStar(StarQueryToken star)
        {
            ExceptionUtils.CheckArgumentNotNull(star, "star");

            if (star.Parent != null)
            {
                this.WriteQuery(star.Parent);
                this.builder.Append(ExpressionConstants.SymbolForwardSlash);
            }

            this.builder.Append(UriQueryConstants.Star);
        }