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

Inheritance: ICloneable
显示文件 Open project: dotnet/corefx Class Usage Examples

Public Methods

Method 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

Method 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 method

public ContentRangeHeaderValue ( long length ) : System.Diagnostics
length long
return System.Diagnostics

ContentRangeHeaderValue() public method

public ContentRangeHeaderValue ( long from, long to ) : System.Diagnostics
from long
to long
return System.Diagnostics

ContentRangeHeaderValue() public method

public ContentRangeHeaderValue ( long from, long to, long length ) : System.Diagnostics
from long
to long
length long
return System.Diagnostics

Equals() public method

public Equals ( object obj ) : bool
obj object
return bool

GetHashCode() public method

public GetHashCode ( ) : int
return int

Parse() public static method

public static Parse ( string input ) : ContentRangeHeaderValue
input string
return ContentRangeHeaderValue

ToString() public method

public ToString ( ) : string
return string

TryParse() public static method

public static TryParse ( string input, ContentRangeHeaderValue &parsedValue ) : bool
input string
parsedValue ContentRangeHeaderValue
return bool