Skip to main content

RequestScriptUtils

Assembly: ServiceStack.Common.dll​
View Source​
Declaration
public static class RequestScriptUtils

Methods​

GetRequestParams(IRequest)​

Duplicate Params are given a unique key by appending a #1 suffix

View Source​
Declaration
public static Dictionary<string, string> GetRequestParams(IRequest request)
Returns​

System.Collections.Generic.Dictionary<System.String,System.String>

Parameters​
TypeName
ServiceStack.Web.IRequestrequest

AddToMap(NameValueCollection, Dictionary<String, String>, HashSet<String>)​

View Source​
Declaration
public static void AddToMap(this NameValueCollection nvc, Dictionary<string, string> map, HashSet<string> exclude = null)
Parameters​
TypeName
System.Collections.Specialized.NameValueCollectionnvc
System.Collections.Generic.Dictionary<System.String,System.String>map
System.Collections.Generic.HashSet<System.String>exclude