Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches
System.Net.Http.Headers.WarningHeaderValue Class Reference

Public Member Functions

 WarningHeaderValue (int code, string agent, string text)
 
 WarningHeaderValue (int code, string agent, string text, DateTimeOffset date)
 
override string ToString ()
 
override bool Equals ([NotNullWhen(true)] object? obj)
 
override int GetHashCode ()
 

Static Public Member Functions

static WarningHeaderValue Parse (string? input)
 
static bool TryParse ([NotNullWhen(true)] string? input, [NotNullWhen(true)] out WarningHeaderValue? parsedValue)
 

Static Package Functions

static int GetWarningLength (string input, int startIndex, out object parsedValue)
 

Properties

int Code [get]
 
string Agent [get]
 
string Text [get]
 
DateTimeOffsetDate [get]
 

Private Member Functions

 WarningHeaderValue (WarningHeaderValue source)
 
object ICloneable. Clone ()
 

Static Private Member Functions

static bool TryReadAgent (string input, int startIndex, ref int current, [NotNullWhen(true)] out string agent)
 
static bool TryReadCode (string input, ref int current, out int code)
 
static bool TryReadDate (string input, ref int current, out DateTimeOffset? date)
 
static void CheckCode (int code)
 
static void CheckAgent (string agent)
 

Private Attributes

readonly int _code
 
readonly string _agent
 
readonly string _text
 
readonly? DateTimeOffset _date
 

Detailed Description

Definition at line 7 of file WarningHeaderValue.cs.


The documentation for this class was generated from the following file: