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

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

Public Methods

Method Description
Equals ( object obj ) : bool
GetHashCode ( ) : int
Parse ( string input ) : ProductHeaderValue
ProductHeaderValue ( string name ) : System.Diagnostics
ProductHeaderValue ( string name, string version ) : System.Diagnostics
ToString ( ) : string
TryParse ( string input, ProductHeaderValue &parsedValue ) : bool

Private Methods

Method Description
GetProductLength ( string input, int startIndex, ProductHeaderValue &parsedValue ) : int
ICloneable ( ) : object
ProductHeaderValue ( ) : System.Diagnostics
ProductHeaderValue ( ProductHeaderValue 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 ) : ProductHeaderValue
input string
return ProductHeaderValue

ProductHeaderValue() public method

public ProductHeaderValue ( string name ) : System.Diagnostics
name string
return System.Diagnostics

ProductHeaderValue() public method

public ProductHeaderValue ( string name, string version ) : System.Diagnostics
name string
version string
return System.Diagnostics

ToString() public method

public ToString ( ) : string
return string

TryParse() public static method

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