/// <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); }
/// <summary> /// 初始化一个<see cref="UrlParameterBuilder"/>类型的实例 /// </summary> /// <param name="builder">参数生成器</param> public UrlParameterBuilder(ParameterBuilder builder) { ParameterBuilder = builder == null ? new ParameterBuilder() : new ParameterBuilder(builder); }