MediaTypeFormatter
MediaTypeFormatter()
MediaTypeFormatter(MediaTypeFormatter)
MaxHttpCollectionKeys
MediaTypeMappings
RequiredMemberSelector
SupportedEncodings
SupportedMediaTypes
CanReadType(Type)
CanWriteType(Type)
GetDefaultValueForType(Type)
GetPerRequestFormatterInstance(Type, HttpRequestMessage, MediaTypeHeaderValue)
ReadFromStreamAsync(Type, Stream, HttpContent, IFormatterLogger)
ReadFromStreamAsync(Type, Stream, HttpContent, IFormatterLogger, CancellationToken)
SelectCharacterEncoding(HttpContentHeaders)
SetDefaultContentHeaders(Type, HttpContentHeaders, MediaTypeHeaderValue)
WriteToStreamAsync(Type, Object, Stream, HttpContent, TransportContext)
WriteToStreamAsync(Type, Object, Stream, HttpContent, TransportContext, CancellationToken)
AddQueryStringMapping(MediaTypeFormatter, String, String, MediaTypeHeaderValue)
AddQueryStringMapping(MediaTypeFormatter, String, String, String)
AddRequestHeaderMapping(MediaTypeFormatter, String, String, StringComparison, Boolean, MediaTypeHeaderValue)
AddRequestHeaderMapping(MediaTypeFormatter, String, String, StringComparison, Boolean, String)
AddUriPathExtensionMapping(MediaTypeFormatter, String, MediaTypeHeaderValue)
AddUriPathExtensionMapping(MediaTypeFormatter, String, String)
net7.0
namespace System.Net.Http.Formatting
{
public abstract class MediaTypeFormatter : Object
{
public virtual IRequiredMemberSelector RequiredMemberSelector { get; set; }
}
}
NetFx Compat Lab | 1.0 %
Reference this API 1.0 %
Get property 1.0 %
Set property |
---|---|
nuget.org | 0.1 %
Reference this API 0.1 %
Get property 0.1 %
Set property |
Upgrade Planner | 0.0 %
Reference this API 0.0 %
Get property 0.0 %
Set property |
.NET | 5.06.07.08.09.010.0 |
.NET Core | 1.01.12.02.12.23.03.1 |
.NET Framework | 4.54.5.14.5.24.64.6.14.6.24.74.7.14.7.24.84.8.1 |
.NET Standard | 1.31.41.51.62.02.1 |
Information specific to net7.0 | |
Assembly | System.Net.Http.Formatting , Version=6.0.0.0, PublicKeyToken=31bf3856ad364e35 |
Referencing | Your project needs a package reference to |
Package | Microsoft.AspNet.WebApi.Client (6.0.0) netstandard2.0 |
Platform Restrictions | The property getter is supported on all platforms. The property setter is supported on all platforms. |
- Built-in API
- Package-provided API