Represents the value of an HTTP header that can include a quality value (q-value).
This class is commonly used for headers such as Accept, Accept-Encoding, and Accept-Language, where clients can specify their preferences along with a quality factor to indicate their relative importance.
The quality value ranges from 0 to 1, where 1 indicates the highest preference.
Gets the string value of the header.
Gets the quality value (q-value) associated with the header value. Returns null if no quality value is present.
Returns a string representation of the header value, including the quality value if present.
Determines whether the specified object is equal to the current object.
Serves as the default hash function.
Initializes a new instance of the StringWithQualityHeaderValue class with the specified string value.
Initializes a new instance of the StringWithQualityHeaderValue class with the specified string value and quality value.