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

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

Public Methods

Method Description
Equals ( object obj ) : bool
GetHashCode ( ) : int
MediaTypeHeaderValue ( string mediaType ) : System.Collections.Generic
Parse ( string input ) : MediaTypeHeaderValue
ToString ( ) : string
TryParse ( string input, MediaTypeHeaderValue &parsedValue ) : bool

Protected Methods

Method Description
MediaTypeHeaderValue ( MediaTypeHeaderValue source ) : System.Collections.Generic

Private Methods

Method Description
CheckMediaTypeFormat ( string mediaType, string parameterName ) : void
GetMediaTypeExpressionLength ( string input, int startIndex, string &mediaType ) : int
GetMediaTypeLength ( string input, int startIndex, Func mediaTypeCreator, MediaTypeHeaderValue &parsedValue ) : int
ICloneable ( ) : object
MediaTypeHeaderValue ( ) : System.Collections.Generic

Method Details

Equals() public method

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

GetHashCode() public method

public GetHashCode ( ) : int
return int

MediaTypeHeaderValue() protected method

protected MediaTypeHeaderValue ( MediaTypeHeaderValue source ) : System.Collections.Generic
source MediaTypeHeaderValue
return System.Collections.Generic

MediaTypeHeaderValue() public method

public MediaTypeHeaderValue ( string mediaType ) : System.Collections.Generic
mediaType string
return System.Collections.Generic

Parse() public static method

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

ToString() public method

public ToString ( ) : string
return string

TryParse() public static method

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