ObjectContent
Contains a value as well as an associated MediaTypeFormatter that will be
used to serialize the value when writing this content.
The MediaTypeFormatterformatter associated with this content instance.
Gets the type of object managed by this ObjectContent instance.
Gets or sets the value of the current ObjectContent.
Initializes a new instance of the ObjectContent class.
Initializes a new instance of the ObjectContent class.
public ObjectContent(Type type, object value, MediaTypeFormatter formatter, MediaTypeHeaderValue mediaType)
Initializes a new instance of the ObjectContent class.