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

Public Member Functions

 ContentRangeHeaderValue (long from, long to, long length)
 
 ContentRangeHeaderValue (long length)
 
 ContentRangeHeaderValue (long from, long to)
 
override bool Equals ([NotNullWhen(true)] object? obj)
 
override int GetHashCode ()
 
override string ToString ()
 

Static Public Member Functions

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

Static Package Functions

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

Properties

string Unit [get, set]
 
long? From [get]
 
long? To [get]
 
long? Length [get]
 
bool HasLength [get]
 
bool HasRange [get]
 

Private Member Functions

 ContentRangeHeaderValue ()
 
 ContentRangeHeaderValue (ContentRangeHeaderValue source)
 
object ICloneable. Clone ()
 

Static Private Member Functions

static bool TryGetLengthLength (string input, ref int current, out int lengthLength)
 
static bool TryGetRangeLength (string input, ref int current, out int fromLength, out int toStartIndex, out int toLength)
 
static bool TryCreateContentRange (string input, string unit, int fromStartIndex, int fromLength, int toStartIndex, int toLength, int lengthStartIndex, int lengthLength, [NotNullWhen(true)] out object parsedValue)
 

Private Attributes

string _unit
 
long? _from
 
long? _to
 
long? _length
 

Detailed Description

Definition at line 6 of file ContentRangeHeaderValue.cs.


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