<PackageReference Include="Microsoft.AspNet.WebApi.Client" Version="5.2.0-rc" />

ContentNegotiationResult

Represents the result of content negotiation performed using <see cref="M:System.Net.Http.Formatting.IContentNegotiator.Negotiate(System.Type,System.Net.Http.HttpRequestMessage,System.Collections.Generic.IEnumerable{System.Net.Http.Formatting.MediaTypeFormatter})" />
public MediaTypeFormatter Formatter { get; set; }

The formatter chosen for serialization.

public MediaTypeHeaderValue MediaType { get; set; }

The media type that is associated with the formatter chosen for serialization. Can be null.

Create the content negotiation result object.