The StringPassThroughMediaTypeFormatter type exposes the following members.

Constructors

  NameDescription
Public methodStringPassThroughMediaTypeFormatter()()()()
DotNetNuke.Web.Api.StringPassThroughMediaTypeFormatter
Public methodStringPassThroughMediaTypeFormatter(IEnumerable<(Of <<'(String>)>>))
DotNetNuke.Web.Api.StringPassThroughMediaTypeFormatter

Methods

  NameDescription
Public methodCanReadType (Overrides MediaTypeFormatterCanReadType(Type).)
Public methodCanWriteType (Overrides MediaTypeFormatterCanWriteType(Type).)
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodGetPerRequestFormatterInstance (Inherited from MediaTypeFormatter.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodReadFromStreamAsync(Type, Stream, HttpContent, IFormatterLogger) (Overrides MediaTypeFormatterReadFromStreamAsync(Type, Stream, HttpContent, IFormatterLogger).)
Public methodReadFromStreamAsync(Type, Stream, HttpContent, IFormatterLogger, CancellationToken) (Inherited from MediaTypeFormatter.)
Public methodSelectCharacterEncoding (Inherited from MediaTypeFormatter.)
Public methodSetDefaultContentHeaders (Inherited from MediaTypeFormatter.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Public methodWriteToStreamAsync(Type, Object, Stream, HttpContent, TransportContext) (Overrides MediaTypeFormatterWriteToStreamAsync(Type, Object, Stream, HttpContent, TransportContext).)
Public methodWriteToStreamAsync(Type, Object, Stream, HttpContent, TransportContext, CancellationToken) (Inherited from MediaTypeFormatter.)

Extension Methods

  NameDescription
Public Extension MethodToJson
Extension method on object that serializes the value to Json. Note the type must be marked Serializable or include a DataContract attribute.
(Defined by JsonExtensionsWeb.)

Properties

  NameDescription
Public propertyMediaTypeMappings (Inherited from MediaTypeFormatter.)
Public propertyRequiredMemberSelector (Inherited from MediaTypeFormatter.)
Public propertySupportedEncodings (Inherited from MediaTypeFormatter.)
Public propertySupportedMediaTypes (Inherited from MediaTypeFormatter.)

See Also