Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches
TransferCodingWithQualityHeaderValue.cs
Go to the documentation of this file.
2
4
6{
7 public double? Quality
8 {
9 get
10 {
12 }
13 set
14 {
16 }
17 }
18
22
24 : base(value)
25 {
26 }
27
28 public TransferCodingWithQualityHeaderValue(string value, double quality)
29 : base(value)
30 {
31 Quality = quality;
32 }
33
38
40 {
42 }
43
49
50 public static bool TryParse([NotNullWhen(true)] string? input, [NotNullWhen(true)] out TransferCodingWithQualityHeaderValue? parsedValue)
51 {
52 int index = 0;
53 parsedValue = null;
54 if (TransferCodingHeaderParser.SingleValueWithQualityParser.TryParseValue(input, null, ref index, out var parsedValue2))
55 {
56 parsedValue = (TransferCodingWithQualityHeaderValue)parsedValue2;
57 return true;
58 }
59 return false;
60 }
61}
static void SetQuality(ObjectCollection< NameValueHeaderValue > parameters, double? value)
static ? double GetQuality(ObjectCollection< NameValueHeaderValue > parameters)
static readonly TransferCodingHeaderParser SingleValueWithQualityParser
static bool TryParse([NotNullWhen(true)] string? input, [NotNullWhen(true)] out TransferCodingWithQualityHeaderValue? parsedValue)
static new TransferCodingWithQualityHeaderValue Parse(string? input)