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