예제 #1
0
 /// <summary>
 /// 初始化一个<see cref="ParameterBuilder"/>类型的实例
 /// </summary>
 /// <param name="builder">参数生成器</param>
 public ParameterBuilder(ParameterBuilder builder) : this(builder.GetDictionary())
 {
 }
 public UrlParameterBuilder(string url, UrlParameterBuilder builder = null)
 {
     ParameterBuilder =
         builder == null ? new ParameterBuilder() : new ParameterBuilder(builder.ParameterBuilder);
 }
예제 #3
0
 /// <summary>
 /// 初始化一个<see cref="UrlParameterBuilder"/>类型的实例
 /// </summary>
 /// <param name="builder">参数生成器</param>
 public UrlParameterBuilder(ParameterBuilder builder)
 {
     ParameterBuilder = builder == null ? new ParameterBuilder() : new ParameterBuilder(builder);
 }