Свойство | Тип | Описание | |
---|---|---|---|
EnumerableInterfaceGenericType | |||
HttpContentType | |||
HttpRequestMessageType | |||
HttpResponseMessageType | |||
QueryableInterfaceGenericType | |||
Utf16EncodingType | |||
Utf8EncodingType |
Метод | Описание | |
---|---|---|
CreateEmptyContentHeaders ( ) : |
Creates an empty HttpContentHeaders instance. The only way is to get it from a dummy HttpContent instance.
|
|
DateToString ( DateTimeOffset dateTime ) : string | ||
TryParseDate ( string input, DateTimeOffset &result ) : bool | ||
TryParseInt32 ( string value, int &result ) : bool |
Parses valid integer strings with no leading signs, whitespace or other NumberStyles
|
|
UnquoteToken ( string token ) : string |
Remove bounding quotes on a token if present
|
|
ValidateCollection ( Collection |
Ensure the actual collection is identical to the expected one
|
|
ValidateHeaderToken ( string token ) : bool |
public static CreateEmptyContentHeaders ( ) : |
||
Результат |
public static DateToString ( DateTimeOffset dateTime ) : string | ||
dateTime | DateTimeOffset | |
Результат | string |
public static TryParseDate ( string input, DateTimeOffset &result ) : bool | ||
input | string | |
result | DateTimeOffset | |
Результат | bool |
public static TryParseInt32 ( string value, int &result ) : bool | ||
value | string | The value to parse |
result | int | The result |
Результат | bool |
public static UnquoteToken ( string token ) : string | ||
token | string | Token to unquote. |
Результат | string |
public static ValidateCollection ( Collection |
||
actual | Collection |
The actual collection of the instance |
expected | The expected collection of the instance | |
Результат | bool |
public static ValidateHeaderToken ( string token ) : bool | ||
token | string | |
Результат | bool |
public static Type,System EnumerableInterfaceGenericType | ||
Результат |
public static Type,System HttpContentType | ||
Результат |
public static Type,System HttpRequestMessageType | ||
Результат |
public static Type,System HttpResponseMessageType | ||
Результат |
public static Type,System QueryableInterfaceGenericType | ||
Результат |
public static Type,System Utf16EncodingType | ||
Результат |