コード例 #1
0
        public bool ContainsParameter(StandardQueryStringParameters parameter)
        {
            var name = parameter.ToString();

            return(ParameterNames.Contains(name));
        }
コード例 #2
0
 /// <summary>
 /// Disables one or more of the builtin query parameters for a controller.
 /// </summary>
 public DisableQueryAttribute(StandardQueryStringParameters parameters)
 {
     _parameterNames = parameters != StandardQueryStringParameters.None
         ? ParseList(parameters.ToString())
         : new List <string>();
 }