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

Inheritance: ICloneable
Mostra file Open project: dotnet/corefx Class Usage Examples

Public Methods

Method Description
Equals ( object obj ) : bool
GetHashCode ( ) : int
Parse ( string input ) : WarningHeaderValue
ToString ( ) : string
TryParse ( string input, WarningHeaderValue &parsedValue ) : bool
WarningHeaderValue ( int code, string agent, string text ) : System.Diagnostics
WarningHeaderValue ( int code, string agent, string text, DateTimeOffset date ) : System.Diagnostics

Private Methods

Method Description
CheckAgent ( string agent ) : void
CheckCode ( int code ) : void
GetWarningLength ( string input, int startIndex, object &parsedValue ) : int
ICloneable ( ) : object
TryReadAgent ( string input, int startIndex, int &current, string &agent ) : bool
TryReadCode ( string input, int &current, int &code ) : bool
TryReadDate ( string input, int &current, DateTimeOffset &date ) : bool
WarningHeaderValue ( ) : System.Diagnostics
WarningHeaderValue ( WarningHeaderValue source ) : System.Diagnostics

Method Details

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 ) : WarningHeaderValue
input string
return WarningHeaderValue

ToString() public method

public ToString ( ) : string
return string

TryParse() public static method

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

WarningHeaderValue() public method

public WarningHeaderValue ( int code, string agent, string text ) : System.Diagnostics
code int
agent string
text string
return System.Diagnostics

WarningHeaderValue() public method

public WarningHeaderValue ( int code, string agent, string text, DateTimeOffset date ) : System.Diagnostics
code int
agent string
text string
date DateTimeOffset
return System.Diagnostics