Méthode | Description | |
---|---|---|
CanReadType ( |
Queries whether this T:System.Net.Http.Formatting.MediaTypeFormatter can deserializean object of the specified type.
|
|
CanWriteType ( |
Queries whether this T:System.Net.Http.Formatting.MediaTypeFormatter can serializean object of the specified type.
|
Méthode | Description | |
---|---|---|
CanReadOrWrite ( |
Returns a value indicating whether or not the dictionary has a metadata mapping for the given type.
|
|
HypermediaMediaTypeFormatter ( string name, string mediaTypeName, IContractResolver contractResolver ) : System |
Constructor.
|
protected CanReadOrWrite ( |
||
type | The element type to test for a mapping. | |
Résultat | bool |
public CanReadType ( |
||
type | The type to deserialize. | |
Résultat | bool |
public CanWriteType ( |
||
type | The type to serialize. | |
Résultat | bool |
protected HypermediaMediaTypeFormatter ( string name, string mediaTypeName, IContractResolver contractResolver ) : System | ||
name | string | The friendly name of the format. |
mediaTypeName | string | The correct media type name for content negotiation. |
contractResolver | IContractResolver | The resource contract resolver used to resolve the contracts at runtime. |
Résultat | System |