/// <summary>
 /// Attempts to parse the sequence of values as a sequence of <see cref="StringWithQualityHeaderValue"/> using string parsing rules.
 /// </summary>
 /// <param name="input">The values to parse.</param>
 /// <param name="parsedValues">The parsed values.</param>
 /// <returns><see langword="true"/> if all inputs are valid <see cref="StringWithQualityHeaderValue"/>, otherwise <see langword="false"/>.</returns>
 public static bool TryParseStrictList(IList <string>?input, [NotNullWhen(true)] out IList <StringWithQualityHeaderValue>?parsedValues)
 {
     return(MultipleValueParser.TryParseStrictValues(input, out parsedValues));
 }
Exemple #2
0
 public static bool TryParseStrictList(IList <string> inputs, out IList <SetCookieHeaderValue> parsedValues)
 {
     return(MultipleValueParser.TryParseStrictValues(inputs, out parsedValues));
 }