Early Preview
This is currently very much a preview. Please feel free to try things out,
but don't be upset if anything is not yet working. Feedback is welcome over on our
GitHub Dicussions page.
class Microsoft.​Net.​Http.​Headers.​StringWithQualityHeaderValue
Assembly: Microsoft.Net.Http.Headers
Inheritance: object → StringWithQualityHeaderValue
A string header value with an optional quality.
Properties
Gets the string header value.
public
double?
Quality
Gets the quality factor.
Methods
public
string
ToString​()
public
bool
Equals​(object obj)
public
int
GetHashCode​()
public static
StringWithQualityHeaderValue
Parse​(Extensions.​Primitives.​StringSegment input)
Parses the specified <paramref name="input" /> as a <see cref="T:Microsoft.Net.Http.Headers.StringWithQualityHeaderValue" /> .
Returns The parsed value.
input
The value to parse.
public static
bool
TryParse​(Extensions.​Primitives.​StringSegment input,
StringWithQualityHeaderValue& parsedValue)
public static
System.​Collections.​Generic.​IList<​StringWithQualityHeaderValue>
ParseList​(System.​Collections.​Generic.​IList?<​string> input)
Parses a sequence of inputs as a sequence of <see cref="T:Microsoft.Net.Http.Headers.StringWithQualityHeaderValue" /> values.
Returns The parsed values.
input
The values to parse.
public static
System.​Collections.​Generic.​IList<​StringWithQualityHeaderValue>
ParseStrictList​(System.​Collections.​Generic.​IList?<​string> input)
Parses a sequence of inputs as a sequence of <see cref="T:Microsoft.Net.Http.Headers.StringWithQualityHeaderValue" /> values using string parsing rules.
Returns The parsed values.
input
The values to parse.
public static
bool
TryParseList​(System.​Collections.​Generic.​IList?<​string> input,
System.​Collections.​Generic.​IList`1&? parsedValues)
public static
bool
TryParseStrictList​(System.​Collections.​Generic.​IList?<​string> input,
System.​Collections.​Generic.​IList`1&? parsedValues)
protected
void
Finalize​()
Inherited from object
protected
object
MemberwiseClone​()
Inherited from object