C# Class System.Net.Http.Headers.ContentRangeHeaderValue

Inheritance: ICloneable
Afficher le fichier Open project: dotnet/corefx Class Usage Examples

Méthodes publiques

Méthode Description
ContentRangeHeaderValue ( long length ) : System.Diagnostics
ContentRangeHeaderValue ( long from, long to ) : System.Diagnostics
ContentRangeHeaderValue ( long from, long to, long length ) : System.Diagnostics
Equals ( object obj ) : bool
GetHashCode ( ) : int
Parse ( string input ) : ContentRangeHeaderValue
ToString ( ) : string
TryParse ( string input, ContentRangeHeaderValue &parsedValue ) : bool

Private Methods

Méthode Description
ContentRangeHeaderValue ( ) : System.Diagnostics
ContentRangeHeaderValue ( ContentRangeHeaderValue source ) : System.Diagnostics
GetContentRangeLength ( string input, int startIndex, object &parsedValue ) : int
ICloneable ( ) : object
TryCreateContentRange ( string input, string unit, int fromStartIndex, int fromLength, int toStartIndex, int toLength, int lengthStartIndex, int lengthLength, object &parsedValue ) : bool
TryGetLengthLength ( string input, int &current, int &lengthLength ) : bool
TryGetRangeLength ( string input, int &current, int &fromLength, int &toStartIndex, int &toLength ) : bool

Method Details

ContentRangeHeaderValue() public méthode

public ContentRangeHeaderValue ( long length ) : System.Diagnostics
length long
Résultat System.Diagnostics

ContentRangeHeaderValue() public méthode

public ContentRangeHeaderValue ( long from, long to ) : System.Diagnostics
from long
to long
Résultat System.Diagnostics

ContentRangeHeaderValue() public méthode

public ContentRangeHeaderValue ( long from, long to, long length ) : System.Diagnostics
from long
to long
length long
Résultat System.Diagnostics

Equals() public méthode

public Equals ( object obj ) : bool
obj object
Résultat bool

GetHashCode() public méthode

public GetHashCode ( ) : int
Résultat int

Parse() public static méthode

public static Parse ( string input ) : ContentRangeHeaderValue
input string
Résultat ContentRangeHeaderValue

ToString() public méthode

public ToString ( ) : string
Résultat string

TryParse() public static méthode

public static TryParse ( string input, ContentRangeHeaderValue &parsedValue ) : bool
input string
parsedValue ContentRangeHeaderValue
Résultat bool