/// <summary> /// 初始化参数生成器 /// </summary> /// <param name="builder">参数生成器</param> public ParameterBuilder(ParameterBuilder builder) : this(builder.GetDictionary()) { }
/// <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); }
/// <summary> /// 初始化Url参数生成器 /// </summary> /// <param name="builder">参数生成器</param> public UrlParameterBuilder(ParameterBuilder builder) { ParameterBuilder = builder == null ? new ParameterBuilder() : new ParameterBuilder(builder); }