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

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

Public Methods

Method Description
Equals ( object obj ) : bool
GetHashCode ( ) : int
Parse ( string input ) : ProductInfoHeaderValue
ProductInfoHeaderValue ( ProductHeaderValue product ) : System.Diagnostics
ProductInfoHeaderValue ( string comment ) : System.Diagnostics
ProductInfoHeaderValue ( string productName, string productVersion ) : System.Diagnostics
ToString ( ) : string
TryParse ( string input, ProductInfoHeaderValue &parsedValue ) : bool

Private Methods

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

ProductInfoHeaderValue() public method

public ProductInfoHeaderValue ( ProductHeaderValue product ) : System.Diagnostics
product ProductHeaderValue
return System.Diagnostics

ProductInfoHeaderValue() public method

public ProductInfoHeaderValue ( string comment ) : System.Diagnostics
comment string
return System.Diagnostics

ProductInfoHeaderValue() public method

public ProductInfoHeaderValue ( string productName, string productVersion ) : System.Diagnostics
productName string
productVersion string
return System.Diagnostics

ToString() public method

public ToString ( ) : string
return string

TryParse() public static method

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