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

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

Méthodes publiques

Méthode 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

Méthode 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 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 ) : WarningHeaderValue
input string
Résultat WarningHeaderValue

ToString() public méthode

public ToString ( ) : string
Résultat string

TryParse() public static méthode

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

WarningHeaderValue() public méthode

public WarningHeaderValue ( int code, string agent, string text ) : System.Diagnostics
code int
agent string
text string
Résultat System.Diagnostics

WarningHeaderValue() public méthode

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