public void Write(IScriptWriter writer) { writer.WriteLine($"{QueryParameterHelperFunctions.TryAppendKeyValueFuncName}({InitUrlParamsScriptExtensions.UrlParamsVarName}, \"{_key}\", \"{_value}\");"); }
public void Write(IScriptWriter writer) { writer.WriteLine($"{QueryParameterHelperFunctions.TryAppendObjectFuncName}({InitUrlParamsScriptExtensions.UrlParamsVarName}, {_paramName});"); }
public void Write(IScriptWriter writer) { writer.WriteLine($"const {UrlParamsVarName} = new URLSearchParams();"); }