The StringPassThroughMediaTypeFormatter type exposes the following members.
Constructors
| Name | Description | |
|---|---|---|
| StringPassThroughMediaTypeFormatter()()()() | DotNetNuke.Web.Api.StringPassThroughMediaTypeFormatter | |
| StringPassThroughMediaTypeFormatter(IEnumerable<(Of <<'(String>)>>)) | DotNetNuke.Web.Api.StringPassThroughMediaTypeFormatter |
Methods
| Name | Description | |
|---|---|---|
| CanReadType | (Overrides MediaTypeFormatterCanReadType(Type).) | |
| CanWriteType | (Overrides MediaTypeFormatterCanWriteType(Type).) | |
| Equals | (Inherited from Object.) | |
| Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
| GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) | |
| GetPerRequestFormatterInstance | (Inherited from MediaTypeFormatter.) | |
| GetType | Gets the Type of the current instance. (Inherited from Object.) | |
| MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
| ReadFromStreamAsync(Type, Stream, HttpContent, IFormatterLogger) | (Overrides MediaTypeFormatterReadFromStreamAsync(Type, Stream, HttpContent, IFormatterLogger).) | |
| ReadFromStreamAsync(Type, Stream, HttpContent, IFormatterLogger, CancellationToken) | (Inherited from MediaTypeFormatter.) | |
| SelectCharacterEncoding | (Inherited from MediaTypeFormatter.) | |
| SetDefaultContentHeaders | (Inherited from MediaTypeFormatter.) | |
| ToString | Returns a string that represents the current object. (Inherited from Object.) | |
| WriteToStreamAsync(Type, Object, Stream, HttpContent, TransportContext) | (Overrides MediaTypeFormatterWriteToStreamAsync(Type, Object, Stream, HttpContent, TransportContext).) | |
| WriteToStreamAsync(Type, Object, Stream, HttpContent, TransportContext, CancellationToken) | (Inherited from MediaTypeFormatter.) |
Extension Methods
| Name | Description | |
|---|---|---|
| ToJson |
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
| Name | Description | |
|---|---|---|
| MediaTypeMappings | (Inherited from MediaTypeFormatter.) | |
| RequiredMemberSelector | (Inherited from MediaTypeFormatter.) | |
| SupportedEncodings | (Inherited from MediaTypeFormatter.) | |
| SupportedMediaTypes | (Inherited from MediaTypeFormatter.) |