ServiceStack.UrlExtensions.GetQueryPropertyTypes C# (CSharp) Method

GetQueryPropertyTypes() public static method

public static GetQueryPropertyTypes ( this requestType ) : Type>.Dictionary
requestType this
return Type>.Dictionary
        public static Dictionary<string, Type> GetQueryPropertyTypes(this Type requestType)
        {
            var map = RestRoute.GetQueryProperties(requestType);
            var to = new Dictionary<string, Type>();
            foreach (var entry in map)
            {
                to[entry.Key] = entry.Value.GetMemberType();
            }
            return to;
        }
    }