public bool ContainsParameter(StandardQueryStringParameters parameter) { var name = parameter.ToString(); return(ParameterNames.Contains(name)); }
/// <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>(); }