示例#1
0
 /// <summary>
 /// 初始化参数生成器
 /// </summary>
 /// <param name="builder">参数生成器</param>
 public ParameterBuilder(ParameterBuilder builder) : this(builder.GetDictionary())
 {
 }
示例#2
0
 /// <summary>
 /// 初始化Url参数生成器
 /// </summary>
 /// <param name="url">Url</param>
 /// <param name="builder">Url参数生成器</param>
 public UrlParameterBuilder(string url, UrlParameterBuilder builder = null)
 {
     ParameterBuilder = builder == null ? new ParameterBuilder() : new ParameterBuilder(builder.ParameterBuilder);
     LoadUrl(url);
 }
示例#3
0
 /// <summary>
 /// 初始化Url参数生成器
 /// </summary>
 /// <param name="builder">参数生成器</param>
 public UrlParameterBuilder(ParameterBuilder builder)
 {
     ParameterBuilder = builder == null ? new ParameterBuilder() : new ParameterBuilder(builder);
 }